Skip to content

Commit 3382cad

Browse files
committed
sembr src/feature-gates.md
1 parent 25c5cb7 commit 3382cad

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

src/feature-gates.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Feature gates
22

3-
This chapter is intended to provide basic help for adding, removing, and
4-
modifying feature gates.
3+
This chapter is intended to provide basic help for adding, removing, and modifying feature gates.
54

65
For how rustc enforces and checks feature gates in the compiler pipeline,
76
see [Feature Gate Checking][feature-gate-check].
@@ -67,9 +66,8 @@ to follow when [removing a feature gate][removing]):
6766
Some("renamed to `$new_feature_name`"))
6867
```
6968

70-
3. Add a feature gate declaration with the new name to
71-
`rustc_feature/src/unstable.rs`. It should look very similar to the old
72-
declaration:
69+
3. Add a feature gate declaration with the new name to `rustc_feature/src/unstable.rs`.
70+
It should look very similar to the old declaration:
7371

7472
```rust,ignore
7573
/// description of feature
@@ -79,9 +77,8 @@ to follow when [removing a feature gate][removing]):
7977

8078
## Stabilizing a feature
8179

82-
See ["Updating the feature-gate listing"] in the "Stabilizing Features" chapter
83-
for instructions. There are additional steps you will need to take beyond just
84-
updating the declaration!
80+
See ["Updating the feature-gate listing"] in the "Stabilizing Features" chapter for instructions.
81+
There are additional steps you will need to take beyond just updating the declaration!
8582

8683

8784
["Stability in code"]: ./implementing-new-features.md#stability-in-code

0 commit comments

Comments
 (0)