Auto merge of #43936 - oli-obk:patch-6, r=alexcrichton

Upgrade a comment to a doc comment

r? @alexcrichton

cc @bjorn3
This commit is contained in:
bors 2017-08-19 23:53:53 +00:00
commit b07e730a36

View File

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