Skip to content

Commit 51338fa

Browse files
authored
Rollup merge of rust-lang#80203 - pierwill:pierwill-rustcmiddle-lint, r=oli-obk
Edit rustc_middle::lint::LintSource docs Edit punctuation in doc comment for [rustc_middle::lint::LintSource::CommandLine](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/lint/enum.LintSource.html#variant.CommandLine).
2 parents c809da4 + 52b717f commit 51338fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_middle/src/lint.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ pub enum LintSource {
2222
Node(Symbol, Span, Option<Symbol> /* RFC 2383 reason */),
2323

2424
/// Lint level was set by a command-line flag.
25-
/// The provided `Level` is the level specified on the command line -
26-
/// the actual level may be lower due to `--cap-lints`
25+
/// The provided `Level` is the level specified on the command line.
26+
/// (The actual level may be lower due to `--cap-lints`.)
2727
CommandLine(Symbol, Level),
2828
}
2929

0 commit comments

Comments
 (0)