Skip to content

Commit

Permalink
Rollup merge of #126888 - compiler-errors:oops-debug-printing, r=dtolnay
Browse files Browse the repository at this point in the history
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 #6210
Fix rust-lang/rust#126887
  • Loading branch information
matthiaskrgr committed Jun 24, 2024
2 parents bd0a886 22aac49 commit 514fe39
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 1994,6 @@ fn rewrite_static(
static_parts: &StaticParts<'_>,
offset: Indent,
) -> Option<String> {
println!("rewriting static");
let colon = colon_spaces(context.config);
let mut prefix = format!(
"{}{}{}{} {}{}{}",
Expand Down

0 comments on commit 514fe39

Please sign in to comment.