Skip to content

Commit 9a77692

Browse files
author
The Miri Cronjob Bot
committed
fmt
1 parent 7950562 commit 9a77692

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/tools/miri/tests/pass/drop_in_place.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ use std::ptr;
66

77
fn main() {
88
let mut not_a_bool = 13u8;
9-
unsafe {
10-
ptr::drop_in_place(&mut not_a_bool as *mut u8 as *mut bool)
11-
};
9+
unsafe { ptr::drop_in_place(&mut not_a_bool as *mut u8 as *mut bool) };
1210
}

0 commit comments

Comments
 (0)