Skip to content

Commit

Permalink
Edit rustc_middle::lint::LintSource docs
Browse files Browse the repository at this point in the history
Edit punctuation in doc comment for rustc_middle::lint::LintSource::CommandLine.
  • Loading branch information
pierwill committed Dec 19, 2020
1 parent f745834 commit 52b717f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_middle/src/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ pub enum LintSource {
Node(Symbol, Span, Option<Symbol> /* RFC 2383 reason */),

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

Expand Down

0 comments on commit 52b717f

Please sign in to comment.