diff options
| author | bors <bors@rust-lang.org> | 2017-08-19 23:53:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-08-19 23:53:53 +0000 |
| commit | b07e730a36739a98b4549af9b90fac4ab04ae9fe (patch) | |
| tree | a00f4834b0619c8fa5bf5b7e7a5f1ae90eba9d89 /src | |
| parent | 5af17242ccb151e136122b2231df2fe4031d340e (diff) | |
| parent | 9346fe9d6e6a3b9868cd82b459066f383f6c1beb (diff) | |
Auto merge of #43936 - oli-obk:patch-6, r=alexcrichton
Upgrade a comment to a doc comment r? @alexcrichton cc @bjorn3
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/lint/context.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc/lint/context.rs b/src/librustc/lint/context.rs index 92b159a55f4..4d1374b69b8 100644 --- a/src/librustc/lint/context.rs +++ b/src/librustc/lint/context.rs @@ -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, |
