Rollup merge of #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).
This commit is contained in:
commit
f84ec97485
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ pub enum LintSource {
|
||||||
Node(Symbol, Span, Option<Symbol> /* RFC 2383 reason */),
|
Node(Symbol, Span, Option<Symbol> /* RFC 2383 reason */),
|
||||||
|
|
||||||
/// Lint level was set by a command-line flag.
|
/// Lint level was set by a command-line flag.
|
||||||
/// The provided `Level` is the level specified on the command line -
|
/// The provided `Level` is the level specified on the command line.
|
||||||
/// the actual level may be lower due to `--cap-lints`
|
/// (The actual level may be lower due to `--cap-lints`.)
|
||||||
CommandLine(Symbol, Level),
|
CommandLine(Symbol, Level),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue