1
Fork 0

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:
Guillaume Gomez 2020-12-23 00:13:33 +01:00 committed by GitHub
commit f84ec97485
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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),
} }