From 1b9f8a61793825e6fb89e51d0ffd54176182d71a 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 ca609a8..8aeb816 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,