Open
Description
This is the rustfmt
result for an unsafe
block:
fn main() {
// #[cfg(not(fake_flag))]
unsafe { println!() };
}
But uncomment the attribute, and it reformats it as:
fn main() {
#[cfg(not(fake_flag))]
unsafe {
println!()
};
}
Changing the attribute probably should not change the formatting.
rustfmt 1.7.0-nightly (5119208f 2024-03-02)