about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-15 09:03:59 +0000
committerbors <bors@rust-lang.org>2022-09-15 09:03:59 +0000
commit56a8ef4dbe13a537e18ad6cdb0e1dabd25a1250a (patch)
treeb79673bc9c3a63884d0da697a762e23c1b27f758
parentba9afafb84b1cace870ea51b1def4c541d4a65d2 (diff)
parenta392370cbd89dcb8987b47407610e454d1b32342 (diff)
Auto merge of #9481 - giraffate:fix_indents, r=xFrednet
Fix indents

Markdowns are not displayed correctly.
https://github.com/rust-lang/rust-clippy/blob/master/book/src/development/common_tools_writing_lints.md#dealing-with-macros-and-expansions

changelog: none
-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");