Skip to content

Commit b07e730

Browse files
committed
Auto merge of #43936 - oli-obk:patch-6, r=alexcrichton
Upgrade a comment to a doc comment r? @alexcrichton cc @bjorn3
2 parents 5af1724 + 9346fe9 commit b07e730

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/librustc/lint/context.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ pub enum FindLintError {
121121

122122
pub enum CheckLintNameResult<'a> {
123123
Ok(&'a [LintId]),
124-
// Lint doesn't exist
124+
/// Lint doesn't exist
125125
NoLint,
126-
// The lint is either renamed or removed. This is the warning
127-
// message.
126+
/// The lint is either renamed or removed. This is the warning
127+
/// message.
128128
Warning(String),
129129
}
130130

@@ -253,7 +253,7 @@ impl LintStore {
253253
}
254254
}
255255

256-
// Checks the validity of lint names derived from the command line
256+
/// Checks the validity of lint names derived from the command line
257257
pub fn check_lint_name_cmdline(&self,
258258
sess: &Session,
259259
lint_name: &str,

0 commit comments

Comments
 (0)