From b350f8fe03e02938b4117e83a6c7ad0a53eccee5 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 13 Jan 2023 23:25:09 +0100 Subject: [PATCH] remove lint allowance --- src/time/cds.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/time/cds.rs b/src/time/cds.rs index 142eded..9c5fb81 100644 --- a/src/time/cds.rs +++ b/src/time/cds.rs @@ -601,7 +601,6 @@ impl Add for TimeProvider { type Output = Self; fn add(self, duration: Duration) -> Self::Output { - #[allow(clippy::suspicious_arithmetic_impl)] let (next_ccsds_days, next_ms_of_day, precision) = add_for_max_ccsds_days_val(self, u16::MAX as u32, duration); let mut provider = Self::new_with_u16_days(next_ccsds_days as u16, next_ms_of_day);