Remove a redundant .into().
This commit is contained in:
@@ -177,7 +177,7 @@ pub trait TargetIsa {
|
|||||||
ctrl_typevar: ir::Type,
|
ctrl_typevar: ir::Type,
|
||||||
) -> Result<Encoding, Legalize> {
|
) -> Result<Encoding, Legalize> {
|
||||||
let mut iter = self.legal_encodings(dfg, inst, ctrl_typevar);
|
let mut iter = self.legal_encodings(dfg, inst, ctrl_typevar);
|
||||||
iter.next().ok_or_else(|| iter.legalize().into())
|
iter.next().ok_or_else(|| iter.legalize())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get a data structure describing the instruction encodings in this ISA.
|
/// Get a data structure describing the instruction encodings in this ISA.
|
||||||
|
|||||||
Reference in New Issue
Block a user