From de818254d8977b53643b558713934056b91ad787 Mon Sep 17 00:00:00 2001 From: RobertasJ Date: Fri, 25 Oct 2024 09:56:51 +0200 Subject: [PATCH] added some text to the unreachable part --- crates/torin/src/values/size.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/torin/src/values/size.rs b/crates/torin/src/values/size.rs index 3e44bc2d1..93bbb1e61 100644 --- a/crates/torin/src/values/size.rs +++ b/crates/torin/src/values/size.rs @@ -292,7 +292,7 @@ impl<'a> DynamicCalculationEvaluator<'a> { match prefix { DynamicCalculation::Add => lhs, DynamicCalculation::Sub => lhs.map(|v| v * -1.0), - _ => unreachable!(), + _ => unreachable!("make sure to add the prefix here"), } } else { lhs