]> git.lizzy.rs Git - rust.git/commitdiff
Update compiler/rustc_lint/src/let_underscore.rs
authorKagami Sascha Rosylight <saschanaz@outlook.com>
Mon, 24 Oct 2022 15:30:29 +0000 (17:30 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Oct 2022 15:30:29 +0000 (17:30 +0200)
compiler/rustc_lint/src/let_underscore.rs

index b51c1679f9f3131b7d23b781dd8913a288276d6b..c59f56756c6b716f9d5255bb28e3717038e39365 100644 (file)
@@ -11,7 +11,7 @@
     /// scope.
     ///
     /// ### Example
-    /// ```compile_fail
+    /// ```rust,compile_fail
     /// struct SomeStruct;
     /// impl Drop for SomeStruct {
     ///     fn drop(&mut self) {