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 7830546
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 @@ -63,6 +63,7 @@ struct ArithmeticOverflow;
macro_rules! impl_err_checked_arithmetic {
($($ty:ty),*) => {
$(
#[allow(dead_code)]
impl ErrCheckedArithmetic for $ty {
fn err_checked_add(self, other: $ty) -> Result<Self, ArithmeticOverflow> {
self.checked_add(other).ok_or(ArithmeticOverflow)
Expand Down

0 comments on commit 7830546

Please sign in to comment.