Small cleanup
This commit is contained in:
parent
f37c9adbd9
commit
f6ba217c1c
1 changed files with 3 additions and 5 deletions
|
@ -83,11 +83,9 @@ fn fetch_const(args: &[P<Expr>], m: MinMax) -> Option<(MinMax, Constant, &Expr)>
|
|||
} else {
|
||||
None
|
||||
}
|
||||
} else if let Some(c) = constant_simple(&args[1]) {
|
||||
Some((m, c, &args[0]))
|
||||
} else {
|
||||
if let Some(c) = constant_simple(&args[1]) {
|
||||
Some((m, c, &args[0]))
|
||||
} else {
|
||||
None
|
||||
}
|
||||
None
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue