Skip to content

Commit 4dc7d08

Browse files
committed
Make ProfileChecking comments a doc comments
1 parent e11cd81 commit 4dc7d08

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/cargo/util/command_prelude.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,15 +287,15 @@ pub fn subcommand(name: &'static str) -> App {
287287
])
288288
}
289289

290-
// Determines whether or not to gate `--profile` as unstable when resolving it.
290+
/// Determines whether or not to gate `--profile` as unstable when resolving it.
291291
pub enum ProfileChecking {
292-
// `cargo rustc` historically has allowed "test", "bench", and "check". This
293-
// variant explicitly allows those.
292+
/// `cargo rustc` historically has allowed "test", "bench", and "check". This
293+
/// variant explicitly allows those.
294294
LegacyRustc,
295-
// `cargo check` and `cargo fix` historically has allowed "test". This variant
296-
// explicitly allows that on stable.
295+
/// `cargo check` and `cargo fix` historically has allowed "test". This variant
296+
/// explicitly allows that on stable.
297297
LegacyTestOnly,
298-
// All other commands, which allow any valid custom named profile.
298+
/// All other commands, which allow any valid custom named profile.
299299
Custom,
300300
}
301301

0 commit comments

Comments
 (0)