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 rust-lang/rustfmt#6210
Fix #126887
  • Loading branch information
matthiaskrgr authored Jun 24, 2024
2 parents 9892b3e + 25446c2 commit b94d275
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tools/rustfmt/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 b94d275

Please sign in to comment.