mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Fix bug in fmt_diff_with
This commit is contained in:
parent
907ce72c43
commit
0ce96bdcfa
@ -33,7 +33,7 @@ pub trait DebugWithContext<C>: Eq + fmt::Debug {
|
||||
}
|
||||
|
||||
write!(f, "\u{001f}-")?;
|
||||
self.fmt_with(ctxt, f)
|
||||
old.fmt_with(ctxt, f)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user