Skip to content

Commit

Permalink
Makes linter happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lichtso committed Feb 27, 2024
1 parent 3e1a2d6 commit d659b9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ macro_rules! impl_err_checked_arithmetic {
self.checked_mul(other).ok_or(ArithmeticOverflow)
}

#[allow(dead_code)]
fn err_checked_div(self, other: $ty) -> Result<Self, ArithmeticOverflow> {
self.checked_div(other).ok_or(ArithmeticOverflow)
}
Expand Down

0 comments on commit d659b9f

Please sign in to comment.