about summary refs log tree commit diff
path: root/src/librustc/lint/context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc/lint/context.rs')
-rw-r--r--src/librustc/lint/context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/lint/context.rs b/src/librustc/lint/context.rs
index c633c0fb036..449f8e0a2db 100644
--- a/src/librustc/lint/context.rs
+++ b/src/librustc/lint/context.rs
@@ -1270,7 +1270,7 @@ pub fn check_ast_crate(
     //
     // Rustdoc runs everybody-loops before the early lints and removes
     // function bodies, so it's totally possible for linted
-    // node ids to not exist (e.g. macros defined within functions for the
+    // node ids to not exist (e.g., macros defined within functions for the
     // unused_macro lint) anymore. So we only run this check
     // when we're not in rustdoc mode. (see issue #47639)
     if !sess.opts.actually_rustdoc {