File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 62
62
//!
63
63
//! 1. Add the option to the [`CliUnstable`] struct below. Flags can take an
64
64
//! optional value if you want.
65
- //! 2. Update the [`CliUnstable::add`] function to parse the flag.
65
+ //! 2. Update the [`CliUnstable::add`][CliUnstable] function to parse the flag.
66
66
//! 3. Wherever the new functionality is implemented, call
67
67
//! [`Config::cli_unstable`][crate::util::config::Config::cli_unstable] to
68
68
//! get an instance of `CliUnstable` and check if the option has been
81
81
//! macro below.
82
82
//! 2. `-Z unstable-options`: Find the call to `fail_if_stable_opt` and
83
83
//! remove it. Be sure to update the man pages if necessary.
84
- //! 3. `-Z` flag: Change the parsing code in [`CliUnstable::add`] to call
85
- //! `stabilized_warn` or `stabilized_err` and remove the field from
84
+ //! 3. `-Z` flag: Change the parsing code in [`CliUnstable::add`][CliUnstable]
85
+ //! to call `stabilized_warn` or `stabilized_err` and remove the field from
86
86
//! `CliUnstable. Remove the `(unstable)` note in the clap help text if
87
87
//! necessary.
88
88
//! 2. Remove `masquerade_as_nightly_cargo` from any tests, and remove
You can’t perform that action at this time.
0 commit comments