@@ -12,7 +12,7 @@ following steps.
12
12
## Documentation PRs
13
13
14
14
If any documentation for this feature exists, it should be
15
- in the ` Unstable Book ` , located at ` src/doc/unstable-book ` .
15
+ in the [ ` Unstable Book ` ] , located at [ ` src/doc/unstable-book ` ] .
16
16
If it exists, the page for the feature gate should be removed.
17
17
18
18
If there was documentation there, integrating it into the
@@ -63,8 +63,7 @@ The report should contain:
63
63
64
64
If any member of the team responsible for tracking this
65
65
feature agrees with stabilizing this feature, they will
66
- start the FCP (final-comment-period) process by
67
- commenting
66
+ start the FCP (final-comment-period) process by commenting
68
67
69
68
``` bash
70
69
@rfcbot fcp merge
@@ -75,24 +74,24 @@ decision is to stabilize, we proceed to do the actual code modification.
75
74
76
75
## Stabilization PR
77
76
78
- Once we have decided to stabilize a feature, we need to have a PR that
79
- actually makes that stabilization happen. These kinds of PRs are a
80
- great way to get involved in Rust, as they take you on a little tour
81
- through the source code.
77
+ Once we have decided to stabilize a feature, we need to have
78
+ a PR that actually makes that stabilization happen. These kinds
79
+ of PRs are a great way to get involved in Rust, as they take
80
+ you on a little tour through the source code.
82
81
83
- Here is a general guide to how to stabilize a feature -- every feature
84
- is different, of course, so some features may require steps beyond
85
- what this guide talks about.
82
+ Here is a general guide to how to stabilize a feature --
83
+ every feature is different, of course, so some features may
84
+ require steps beyond what this guide talks about.
86
85
87
- Note: Before we stabilize any feature, it's the rule that it should appear
88
- in the documentation.
86
+ Note: Before we stabilize any feature, it's the rule that it
87
+ should appear in the documentation.
89
88
90
89
### Updating the feature-gate listing
91
90
92
91
There is a central listing of feature-gates in
93
92
[ ` src/libsyntax/feature_gate.rs ` ] . Search for the ` declare_features! `
94
- macro. There should be an entry for the feature you are aiming to
95
- stabilize, something like (this example is taken from
93
+ macro. There should be an entry for the feature you are aiming
94
+ to stabilize, something like (this example is taken from
96
95
[ rust-lang/rust #32409 ] :
97
96
98
97
``` rust,ignore
@@ -177,3 +176,5 @@ if something { /* XXX */ }
177
176
[ The Reference ] : https://github.com/rust-lang-nursery/reference
178
177
[ The Book ] : https://github.com/rust-lang/book
179
178
[ Rust by Example ] : https://github.com/rust-lang/rust-by-example
179
+ [ `Unstable Book` ] : https://doc.rust-lang.org/unstable-book/index.html
180
+ [ `src/doc/unstable-book` ] : https://github.com/rust-lang/rust/tree/master/src/doc/unstable-book
0 commit comments