mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Make ProfileChecking comments a doc comments
This commit is contained in:
parent
e11cd814f8
commit
4dc7d08a9a
@ -287,15 +287,15 @@ pub fn subcommand(name: &'static str) -> App {
|
||||
])
|
||||
}
|
||||
|
||||
// Determines whether or not to gate `--profile` as unstable when resolving it.
|
||||
/// Determines whether or not to gate `--profile` as unstable when resolving it.
|
||||
pub enum ProfileChecking {
|
||||
// `cargo rustc` historically has allowed "test", "bench", and "check". This
|
||||
// variant explicitly allows those.
|
||||
/// `cargo rustc` historically has allowed "test", "bench", and "check". This
|
||||
/// variant explicitly allows those.
|
||||
LegacyRustc,
|
||||
// `cargo check` and `cargo fix` historically has allowed "test". This variant
|
||||
// explicitly allows that on stable.
|
||||
/// `cargo check` and `cargo fix` historically has allowed "test". This variant
|
||||
/// explicitly allows that on stable.
|
||||
LegacyTestOnly,
|
||||
// All other commands, which allow any valid custom named profile.
|
||||
/// All other commands, which allow any valid custom named profile.
|
||||
Custom,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user