]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_lint/src/context.rs
Rollup merge of #104976 - WaffleLapkin:move_comments, r=cjgillot
[rust.git] / compiler / rustc_lint / src / context.rs
index 67cf66f470829d8f20f56bd999bac7461db566e2..e6a0d7e60ca772b10cd67b0630dbdc50724a4907 100644 (file)
@@ -206,7 +206,7 @@ pub fn register_late_mod_pass(
         self.late_module_passes.push(Box::new(pass));
     }
 
-    // Helper method for register_early/late_pass
+    /// Helper method for register_early/late_pass
     pub fn register_lints(&mut self, lints: &[&'static Lint]) {
         for lint in lints {
             self.lints.push(lint);