From 042bc4167de3106d3fb463c1af23d42265d40d8f Mon Sep 17 00:00:00 2001 From: RobertasJ Date: Sat, 23 Nov 2024 16:40:19 +0100 Subject: [PATCH] fix typo --- crates/torin/src/values/size.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/torin/src/values/size.rs b/crates/torin/src/values/size.rs index f8ace7fb2..9afce5792 100644 --- a/crates/torin/src/values/size.rs +++ b/crates/torin/src/values/size.rs @@ -286,15 +286,15 @@ impl<'a> DynamicCalculationEvaluator<'a> { let prefix = self.parse_prefix()?; let mut lhs = None; // set to true so that the first value is multiplied and counts as normal syntax - let mut last_is_seperator = true; + let mut last_is_separator = true; while let Some((rhs, seperator)) = self.parse_value() { - if last_is_seperator || seperator { + if last_is_separator || seperator { lhs = Some(lhs.unwrap_or(1.0) * rhs); } else { return None; } - last_is_seperator = seperator; + last_is_separator = seperator; } if let Some(prefix) = prefix { match prefix {