Merge adjacent write! invocations

This commit is contained in:
Oliver Schneider
2018-05-01 12:26:58 +02:00
parent f66367dacc
commit 487f7bc016
+1 -4
View File
@@ -1133,10 +1133,7 @@ pub fn fmt_head<W: Write>(&self, fmt: &mut W) -> fmt::Result {
if !expected {
write!(fmt, "!")?;
}
write!(fmt, "{:?}, ", cond)?;
write!(fmt, "\"{:?}\"", msg)?;
write!(fmt, ")")
write!(fmt, "{:?}, \"{:?}\")", cond, msg)
},
FalseEdges { .. } => write!(fmt, "falseEdges"),
FalseUnwind { .. } => write!(fmt, "falseUnwind"),