From 7830546327d831fea07b113d19abfd92c45e11db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Mei=C3=9Fner?= Date: Tue, 27 Feb 2024 14:16:52 +0000 Subject: [PATCH] Makes linter happy. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index def5dcf59..c4945816e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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.checked_add(other).ok_or(ArithmeticOverflow)