mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
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
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user