Style: Don't use else after a return.
This commit is contained in:
@@ -271,14 +271,13 @@ impl SubTest for TestBinEmit {
|
|||||||
"No encodings found for: {}",
|
"No encodings found for: {}",
|
||||||
func.dfg.display_inst(inst, isa)
|
func.dfg.display_inst(inst, isa)
|
||||||
));
|
));
|
||||||
} else {
|
}
|
||||||
return Err(format!(
|
return Err(format!(
|
||||||
"No matching encodings for {} in {}",
|
"No matching encodings for {} in {}",
|
||||||
func.dfg.display_inst(inst, isa),
|
func.dfg.display_inst(inst, isa),
|
||||||
DisplayList(&encodings),
|
DisplayList(&encodings),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
let have = sink.text.trim();
|
let have = sink.text.trim();
|
||||||
if have != want {
|
if have != want {
|
||||||
return Err(format!(
|
return Err(format!(
|
||||||
|
|||||||
Reference in New Issue
Block a user