Skip to content

Commit b94d275

Browse files
authored
Rollup merge of #126888 - compiler-errors:oops-debug-printing, r=dtolnay
Remove stray println from rustfmt's `rewrite_static` r? `@calebcartwright` `@ytmimi` -- though anyone should probably r+ this so it gets into nightly sooner than later, since it's obviously wrong. This can just be fixed in-tree, since I don't think we want to wait until the next sync to fix this. Fix rust-lang/rustfmt#6210 Fix #126887
2 parents 9892b3e + 25446c2 commit b94d275

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/tools/rustfmt/src/items.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1994,7 +1994,6 @@ fn rewrite_static(
19941994
static_parts: &StaticParts<'_>,
19951995
offset: Indent,
19961996
) -> Option<String> {
1997-
println!("rewriting static");
19981997
let colon = colon_spaces(context.config);
19991998
let mut prefix = format!(
20001999
"{}{}{}{} {}{}{}",

0 commit comments

Comments
 (0)