Variable name shortened

This commit is contained in:
Erin 2021-09-02 18:36:25 +02:00 committed by ondra05
parent 4d1e85a295
commit a288db985d

View file

@ -395,7 +395,7 @@ impl ops::Div for Value {
), ),
Value::Int(i) => Value::Int(i.wrapping_div(match rhs.into_i32() { Value::Int(i) => Value::Int(i.wrapping_div(match rhs.into_i32() {
0 => consts::ANSWER, 0 => consts::ANSWER,
rhsi => rhsi, x => x,
})), })),
Value::Bool(b) => Value::Bool(!b || rhs.into_bool()), Value::Bool(b) => Value::Bool(!b || rhs.into_bool()),
Value::Abool(_) => !self + rhs, Value::Abool(_) => !self + rhs,