Skip to content

Commit 0ede2d3

Browse files
jyn514camelid
andauthored
Apply suggestions from code review
Co-authored-by: Camelid <[email protected]>
1 parent 14682b1 commit 0ede2d3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/stability.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ To stabilize a feature, follow these steps:
7474

7575
0. Ask a **@T-libs** member to start an FCP on the tracking issue and wait for
7676
the FCP to complete (with `disposition-merge`).
77-
1. Change `#[unstable]` to `#[stable(since = "version")]`.
77+
1. Change `#[unstable(...)]` to `#[stable(since = "version")]`.
7878
`version` should be the *current nightly*, i.e. stable+2. You can see which version is
79-
currently nightly [on Forge](https://forge.rust-lang.org/#current-release-versions).
80-
2. Remove `#![feature]` from any test or doc-test for this API. If the feature is used in the
79+
the current nightly [on Forge](https://forge.rust-lang.org/#current-release-versions).
80+
2. Remove `#![feature(...)]` from any test or doc-test for this API. If the feature is used in the
8181
compiler or tools, remove it from there as well.
82-
3. If applicable, change `#[rustc_const_unstable]` to `#[rustc_const_stable(since = "version")]`.
83-
4. Open a PR against `rust-lang/rust`
82+
3. If applicable, change `#[rustc_const_unstable(...)]` to `#[rustc_const_stable(since = "version")]`.
83+
4. Open a PR against `rust-lang/rust`.
8484
- Add the appropriate labels: `@rustbot modify labels: +T-libs`.
8585
- Link to the tracking issue and say "Closes #XXXXX".
8686

src/stabilization_guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Request for stabilization
22

33
**NOTE**: this page is about stabilizing language features.
4-
For stabilizing library features, see [Stabilizing a library feature].
4+
For stabilizing *library* features, see [Stabilizing a library feature].
55

66
[Stabilizing a library feature]: ./stability.md#stabilizing-a-library-feature
77

0 commit comments

Comments
 (0)