about summary refs log tree commit diff
diff options
context:
space:
mode:
authortamaron <tamaron1203@gmail.com>2022-05-11 00:27:12 +0900
committertamaron <tamaron1203@gmail.com>2022-05-11 00:27:12 +0900
commit1926217b86d0894dd5f1dc2c9c41aaed4282fd6c (patch)
treec1b8a4f79675c6148955f7ccd62fc15db88ecf81
parentaaf87c3871c16d087aac4d09acdb15a5d6331acd (diff)
downloadrust-1926217b86d0894dd5f1dc2c9c41aaed4282fd6c.tar.gz
rust-1926217b86d0894dd5f1dc2c9c41aaed4282fd6c.zip
chore
-rw-r--r--clippy_lints/src/undocumented_unsafe_blocks.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/undocumented_unsafe_blocks.rs b/clippy_lints/src/undocumented_unsafe_blocks.rs
index 1992f61bdb4..bde7613b48e 100644
--- a/clippy_lints/src/undocumented_unsafe_blocks.rs
+++ b/clippy_lints/src/undocumented_unsafe_blocks.rs
@@ -219,7 +219,7 @@ fn comment_start_before_impl_in_mod(
             if idx == 0 {
                 // mod A { /* comment */ unsafe impl T {} ... }
                 // ^------------------------------------------^ returns the start of this span
-                //       ^---------------^ finally checks comments in this range
+                // ^---------------------^ finally checks comments in this range
                 if let Some(sp) = walk_span_to_context(parent_mod_span, SyntaxContext::root()) {
                     return Some(sp.lo());
                 }