about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--book/src/development/common_tools_writing_lints.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/book/src/development/common_tools_writing_lints.md b/book/src/development/common_tools_writing_lints.md
index e0c3e664b3d..f5aa06e4bf6 100644
--- a/book/src/development/common_tools_writing_lints.md
+++ b/book/src/development/common_tools_writing_lints.md
@@ -227,9 +227,9 @@ functions to deal with macros:
   crates
 
   ```rust
- use rustc_middle::lint::in_external_macro;
+  use rustc_middle::lint::in_external_macro;
 
- use a_crate_with_macros::foo;
+  use a_crate_with_macros::foo;
 
   // `foo` is defined in `a_crate_with_macros`
   foo!("bar");