Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Co-authored-by: scottmcm <[email protected]>
  • Loading branch information
RalfJung and scottmcm authored Dec 30, 2024
1 parent 335f7f5 commit 3c0c138
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use std::ptr::addr_of_mut;

fn invalid_scalar() {
// We run the test twice, with either the left or the right side being invalid.
let mut a = if cfg!(left) { 2_u8} else { 1_u8 };
let mut b = if cfg!(right) { 3_u8} else { 1_u8 };
let mut a = if cfg!(left) { 2_u8 } else { 1_u8 };
let mut b = if cfg!(right) { 3_u8 } else { 1_u8 };
unsafe {
let a = addr_of_mut!(a).cast::<bool>();
let b = addr_of_mut!(b).cast::<bool>();
Expand Down

0 comments on commit 3c0c138

Please sign in to comment.