Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
This commit is contained in:
parent
9be6da3bf3
commit
dee61dff39
|
|
@ -143,7 +143,9 @@ leaving just the `/* XXX */`.
|
||||||
|
|
||||||
```
|
```
|
||||||
if self.tcx.sess.features.borrow().pub_restricted { /* XXX */ }
|
if self.tcx.sess.features.borrow().pub_restricted { /* XXX */ }
|
||||||
= becomes ==>
|
```
|
||||||
|
becomes
|
||||||
|
```rust
|
||||||
/* XXX */
|
/* XXX */
|
||||||
|
|
||||||
if self.tcx.sess.features.borrow().pub_restricted && something { /* XXX */ }
|
if self.tcx.sess.features.borrow().pub_restricted && something { /* XXX */ }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue