Skip to content

Commit

Permalink
added some text to the unreachable part
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertasJ committed Oct 25, 2024
1 parent 85a0581 commit de81825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/torin/src/values/size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de81825

Please sign in to comment.