From 9346fe9d6e6a3b9868cd82b459066f383f6c1beb Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Thu, 17 Aug 2017 16:21:55 +0200 Subject: [PATCH] Upgrade a comment to a doc comment --- src/librustc/lint/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/lint/context.rs b/src/librustc/lint/context.rs index 4351907f4ee..62798d6f664 100644 --- a/src/librustc/lint/context.rs +++ b/src/librustc/lint/context.rs @@ -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,