]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_lint/src/let_underscore.rs
Rollup merge of #104976 - WaffleLapkin:move_comments, r=cjgillot
[rust.git] / compiler / rustc_lint / src / let_underscore.rs
index c8939256bbbf6856724beacad7a4760bd9ee3463..04d844d21dc38d9dc959218978a4ba1a13696211 100644 (file)
@@ -57,7 +57,7 @@
     /// of at end of scope, which is typically incorrect.
     ///
     /// ### Example
-    /// ```compile_fail
+    /// ```rust,compile_fail
     /// use std::sync::{Arc, Mutex};
     /// use std::thread;
     /// let data = Arc::new(Mutex::new(0));