Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit dfccebe

Browse files
committed
make cargo test pass
1 parent 0a81f82 commit dfccebe

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

clippy_lints/src/semicolon_block.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ declare_clippy_lint! {
8383
/// # fn f(_: u32) {}
8484
/// # let x = 0;
8585
/// unsafe { f(x); }
86-
///
86+
///
8787
/// unsafe {
8888
/// let x = 1;
8989
/// f(x)
@@ -94,7 +94,7 @@ declare_clippy_lint! {
9494
/// # fn f(_: u32) {}
9595
/// # let x = 0;
9696
/// unsafe { f(x) };
97-
///
97+
///
9898
/// unsafe {
9999
/// let x = 1;
100100
/// f(x);

tests/ui/semicolon_outside_block_if_singleline.fixed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ fn main() {
8282
{ unit_fn_block(); };
8383

8484
unit_fn_block()
85-
}
85+
}

tests/ui/semicolon_outside_block_if_singleline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ fn main() {
8282
{ unit_fn_block(); };
8383

8484
unit_fn_block()
85-
}
85+
}

0 commit comments

Comments
 (0)