about summary refs log tree commit diff
path: root/src/doc/rustc/src/lints/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/rustc/src/lints/index.md')
-rw-r--r--src/doc/rustc/src/lints/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/src/lints/index.md b/src/doc/rustc/src/lints/index.md
index 49c0026ce1a..9010d436eb5 100644
--- a/src/doc/rustc/src/lints/index.md
+++ b/src/doc/rustc/src/lints/index.md
@@ -19,7 +19,7 @@ warning: unused variable: `x`
 2 |     let x = 5;
   |         ^
   |
-  = note: #[warn(unused_variables)] on by default
+  = note: `#[warn(unused_variables)]` on by default
   = note: to avoid this warning, consider using `_x` instead
 ```