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:
commit
b07e730a36
1 changed files with 4 additions and 4 deletions
|
@ -121,10 +121,10 @@ pub enum FindLintError {
|
||||||
|
|
||||||
pub enum CheckLintNameResult<'a> {
|
pub enum CheckLintNameResult<'a> {
|
||||||
Ok(&'a [LintId]),
|
Ok(&'a [LintId]),
|
||||||
// Lint doesn't exist
|
/// Lint doesn't exist
|
||||||
NoLint,
|
NoLint,
|
||||||
// The lint is either renamed or removed. This is the warning
|
/// The lint is either renamed or removed. This is the warning
|
||||||
// message.
|
/// message.
|
||||||
Warning(String),
|
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,
|
pub fn check_lint_name_cmdline(&self,
|
||||||
sess: &Session,
|
sess: &Session,
|
||||||
lint_name: &str,
|
lint_name: &str,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue