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 b91f8d9 commit 0918c7cCopy full SHA for 0918c7c
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