]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_errors/lib.rs
Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik
[rust.git] / src / librustc_errors / lib.rs
index 0fc7b59ff15482be434c8dc3e67ac9d31275718d..93d33d9936187601db7e83ba94df4b05783a21fc 100644 (file)
@@ -390,7 +390,7 @@ pub fn set_continue_after_error(&self, continue_after_error: bool) {
 
     /// Resets the diagnostic error count as well as the cached emitted diagnostics.
     ///
-    /// NOTE: DO NOT call this function from rustc. It is only meant to be called from external
+    /// NOTE: *do not* call this function from rustc. It is only meant to be called from external
     /// tools that want to reuse a `Parser` cleaning the previously emitted diagnostics as well as
     /// the overall count of emitted error diagnostics.
     pub fn reset_err_count(&self) {