Fix another long line.
This commit is contained in:
parent
651896a0ae
commit
aa4b82209e
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ impl<'a, 'tcx> Interpreter<'a, 'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
mir::Terminator::SwitchInt { ref discr, switch_ty: _, ref values, ref targets } => {
|
||||
mir::Terminator::SwitchInt { ref discr, ref values, ref targets, .. } => {
|
||||
let discr_val = self.read_lvalue(discr);
|
||||
|
||||
let index = values.iter().position(|v| discr_val == self.eval_constant(v))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue