diff --git a/src/lib.rs b/src/lib.rs index b80a12c..1708ad0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1806,6 +1806,7 @@ impl NumCast for NotNan { macro_rules! impl_float_const_method { ($wrapper:expr, $method:ident) => { #[allow(non_snake_case)] + #[allow(clippy::redundant_closure_call)] fn $method() -> Self { $wrapper(T::$method()) }