Skip to content

Commit

Permalink
Auto merge of #43936 - oli-obk:patch-6, r=alexcrichton
Browse files Browse the repository at this point in the history
Upgrade a comment to a doc comment

r? @alexcrichton

cc @bjorn3
  • Loading branch information
bors committed Aug 19, 2017
2 parents 5af1724 + 9346fe9 commit b07e730
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/librustc/lint/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ pub enum FindLintError {

pub enum CheckLintNameResult<'a> {
Ok(&'a [LintId]),
// Lint doesn't exist
/// Lint doesn't exist
NoLint,
// The lint is either renamed or removed. This is the warning
// message.
/// The lint is either renamed or removed. This is the warning
/// message.
Warning(String),
}

Expand Down Expand Up @@ -253,7 +253,7 @@ impl LintStore {
}
}

// Checks the validity of lint names derived from the command line
/// Checks the validity of lint names derived from the command line
pub fn check_lint_name_cmdline(&self,
sess: &Session,
lint_name: &str,
Expand Down

0 comments on commit b07e730

Please sign in to comment.