diff --git a/clippy_lints/src/semicolon_block.rs b/clippy_lints/src/semicolon_block.rs index d791100b9b9..eabe0e4619f 100644 --- a/clippy_lints/src/semicolon_block.rs +++ b/clippy_lints/src/semicolon_block.rs @@ -83,7 +83,7 @@ /// # fn f(_: u32) {} /// # let x = 0; /// unsafe { f(x); } - /// + /// /// unsafe { /// let x = 1; /// f(x) @@ -94,7 +94,7 @@ /// # fn f(_: u32) {} /// # let x = 0; /// unsafe { f(x) }; - /// + /// /// unsafe { /// let x = 1; /// f(x); diff --git a/tests/ui/semicolon_outside_block_if_singleline.fixed b/tests/ui/semicolon_outside_block_if_singleline.fixed index 592f9c49ed7..e1ecbf8588d 100644 --- a/tests/ui/semicolon_outside_block_if_singleline.fixed +++ b/tests/ui/semicolon_outside_block_if_singleline.fixed @@ -82,4 +82,4 @@ fn main() { { unit_fn_block(); }; unit_fn_block() -} \ No newline at end of file +} diff --git a/tests/ui/semicolon_outside_block_if_singleline.rs b/tests/ui/semicolon_outside_block_if_singleline.rs index 21dd61445a5..80fbb4ce2d5 100644 --- a/tests/ui/semicolon_outside_block_if_singleline.rs +++ b/tests/ui/semicolon_outside_block_if_singleline.rs @@ -82,4 +82,4 @@ fn main() { { unit_fn_block(); }; unit_fn_block() -} \ No newline at end of file +}