diff --git a/gstreamer/src/date_time.rs b/gstreamer/src/date_time.rs index f8ae2d0ca..4317175fc 100644 --- a/gstreamer/src/date_time.rs +++ b/gstreamer/src/date_time.rs @@ -351,6 +351,7 @@ impl cmp::PartialOrd for DateTime { // are compared in the same TZ. fn partial_cmp(&self, other: &Self) -> Option { #[inline] + #[allow(clippy::unnecessary_wraps)] fn get_cmp(delta: i32) -> Option { skip_assert_initialized!(); Some(delta.cmp(&0))