Upgrade to rustfmt 0.8.0.
Lots of changes this time. Worked around what looks like a rustfmt bug in parse_inst_operands where a large match was nested inside Ok().
This commit is contained in:
@@ -188,7 +188,11 @@ fn write_instruction(w: &mut Write,
|
||||
for r in func.dfg.inst_results(inst) {
|
||||
write!(s,
|
||||
",{}",
|
||||
func.locations.get(r).cloned().unwrap_or_default().display(®s))?
|
||||
func.locations
|
||||
.get(r)
|
||||
.cloned()
|
||||
.unwrap_or_default()
|
||||
.display(®s))?
|
||||
}
|
||||
}
|
||||
write!(s, "]")?;
|
||||
|
||||
Reference in New Issue
Block a user