Skip to content

Commit 7f5f922

Browse files
authored
Upgrade a comment to a doc comment
1 parent dd39ecf commit 7f5f922

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc/lint/context.rs

Lines changed: 3 additions & 3 deletions
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

0 commit comments

Comments
 (0)