Closed Creative0708 closed 6 days ago
There's an extraneous println!() in rewrite_static in items.rs:
println!()
rewrite_static
items.rs
https://github.com/rust-lang/rustfmt/blob/e4944185ae09c99f59b460e358909f329010ea9c/src/items.rs#L1992-L2000
This causes rustfmt to add "rewriting static" to the top of every file that triggers rewrite_static() when formatting:
rewrite_static()
This PR removes the println!(). Nothing fancy, I assume this was a mistake.
Oops, sorry. Didn't see https://github.com/rust-lang/rustfmt/issues/6210 for some reason.
There's an extraneous
println!()
inrewrite_static
initems.rs
:https://github.com/rust-lang/rustfmt/blob/e4944185ae09c99f59b460e358909f329010ea9c/src/items.rs#L1992-L2000
This causes rustfmt to add "rewriting static" to the top of every file that triggers
rewrite_static()
when formatting:This PR removes the
println!()
. Nothing fancy, I assume this was a mistake.