Skip to content

Commit 6b5f275

Browse files
authored
Update let_underscore.rs
1 parent 3ff010b commit 6b5f275

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_lint/src/let_underscore.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ declare_lint! {
1111
/// scope.
1212
///
1313
/// ### Example
14-
/// ```rust,compile_fail
14+
/// ```
1515
/// struct SomeStruct;
1616
/// impl Drop for SomeStruct {
1717
/// fn drop(&mut self) {
@@ -56,7 +56,7 @@ declare_lint! {
5656
/// of at end of scope, which is typically incorrect.
5757
///
5858
/// ### Example
59-
/// ```compile_fail
59+
/// ```rust,compile_fail
6060
/// use std::sync::{Arc, Mutex};
6161
/// use std::thread;
6262
/// let data = Arc::new(Mutex::new(0));

0 commit comments

Comments
 (0)