We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7950562 commit 9a77692Copy full SHA for 9a77692
src/tools/miri/tests/pass/drop_in_place.rs
@@ -6,7 +6,5 @@ use std::ptr;
6
7
fn main() {
8
let mut not_a_bool = 13u8;
9
- unsafe {
10
- ptr::drop_in_place(&mut not_a_bool as *mut u8 as *mut bool)
11
- };
+ unsafe { ptr::drop_in_place(&mut not_a_bool as *mut u8 as *mut bool) };
12
}
0 commit comments