Skip to content

Commit 53d6d53

Browse files
RalfJungscottmcm
andauthored
fmt
Co-authored-by: scottmcm <[email protected]>
1 parent 23190dd commit 53d6d53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fail/intrinsics/typed-swap-invalid-scalar.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use std::ptr::addr_of_mut;
77

88
fn invalid_scalar() {
99
// We run the test twice, with either the left or the right side being invalid.
10-
let mut a = if cfg!(left) { 2_u8} else { 1_u8 };
11-
let mut b = if cfg!(right) { 3_u8} else { 1_u8 };
10+
let mut a = if cfg!(left) { 2_u8 } else { 1_u8 };
11+
let mut b = if cfg!(right) { 3_u8 } else { 1_u8 };
1212
unsafe {
1313
let a = addr_of_mut!(a).cast::<bool>();
1414
let b = addr_of_mut!(b).cast::<bool>();

0 commit comments

Comments
 (0)