Skip to content

Commit 52b717f

Browse files
committed
Edit rustc_middle::lint::LintSource docs
Edit punctuation in doc comment for rustc_middle::lint::LintSource::CommandLine.
1 parent f745834 commit 52b717f

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)