Skip to content

Commit 623ebbe

Browse files
committed
Remove some commented-out code.
This was accidentally left behind in a previous commit.
1 parent 57d5689 commit 623ebbe

File tree

1 file changed

+0
-2
lines changed
  • compiler/rustc_builtin_macros/src/deriving

1 file changed

+0
-2
lines changed

compiler/rustc_builtin_macros/src/deriving/debug.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ fn show_substructure(cx: &mut ExtCtxt<'_>, span: Span, substr: &Substructure<'_>
6262
let (is_struct, args_per_field) = match vdata {
6363
ast::VariantData::Unit(..) => {
6464
// Special fast path for unit variants.
65-
//let fn_path_write_str = cx.std_path(&[sym::fmt, sym::Formatter, sym::write_str]);
66-
//return cx.expr_call_global(span, fn_path_write_str, vec![fmt, name]);
6765
assert!(fields.is_empty());
6866
(false, 0)
6967
}

0 commit comments

Comments
 (0)