Skip to content

Commit 1cbfced

Browse files
committed
Update docs on updating CliUnstable.
1 parent 4f8f80d commit 1cbfced

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/cargo/core/features.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
//! get an instance of `CliUnstable` and check if the option has been
6969
//! enabled on the `CliUnstable` instance. Nightly gating is already
7070
//! handled, so no need to worry about that.
71-
//! 4. Update the `-Z help` documentation in the `main` function.
7271
//!
7372
//! ## Stabilization
7473
//!
@@ -83,9 +82,9 @@
8382
//! 2. `-Z unstable-options`: Find the call to `fail_if_stable_opt` and
8483
//! remove it. Be sure to update the man pages if necessary.
8584
//! 3. `-Z` flag: Change the parsing code in [`CliUnstable::add`] to call
86-
//! `stabilized_warn` or `stabilized_err`. Remove it from the `-Z help`
87-
//! docs in the `main` function. Remove the `(unstable)` note in the
88-
//! clap help text if necessary.
85+
//! `stabilized_warn` or `stabilized_err` and remove the field from
86+
//! `CliUnstable. Remove the `(unstable)` note in the clap help text if
87+
//! necessary.
8988
//! 2. Remove `masquerade_as_nightly_cargo` from any tests, and remove
9089
//! `cargo-features` from `Cargo.toml` test files if any.
9190
//! 3. Remove the docs from unstable.md and update the redirect at the bottom

0 commit comments

Comments
 (0)