Merge adjacent write! invocations
This commit is contained in:
parent
f66367dacc
commit
487f7bc016
1 changed files with 1 additions and 4 deletions
|
|
@ -1133,10 +1133,7 @@ impl<'tcx> TerminatorKind<'tcx> {
|
|||
if !expected {
|
||||
write!(fmt, "!")?;
|
||||
}
|
||||
write!(fmt, "{:?}, ", cond)?;
|
||||
write!(fmt, "\"{:?}\"", msg)?;
|
||||
|
||||
write!(fmt, ")")
|
||||
write!(fmt, "{:?}, \"{:?}\")", cond, msg)
|
||||
},
|
||||
FalseEdges { .. } => write!(fmt, "falseEdges"),
|
||||
FalseUnwind { .. } => write!(fmt, "falseUnwind"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue