From a288db985dd80b3b4e5a7284a3ed123fe4d48dff Mon Sep 17 00:00:00 2001 From: Erin Date: Thu, 2 Sep 2021 18:36:25 +0200 Subject: [PATCH] Variable name shortened --- ablescript/src/variables.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ablescript/src/variables.rs b/ablescript/src/variables.rs index ca609a85..8aeb8168 100644 --- a/ablescript/src/variables.rs +++ b/ablescript/src/variables.rs @@ -395,7 +395,7 @@ impl ops::Div for Value { ), Value::Int(i) => Value::Int(i.wrapping_div(match rhs.into_i32() { 0 => consts::ANSWER, - rhsi => rhsi, + x => x, })), Value::Bool(b) => Value::Bool(!b || rhs.into_bool()), Value::Abool(_) => !self + rhs,