From 5f8c5f1620e3968a61bc86d89f6cb6537fb91983 Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Sat, 2 Sep 2023 14:47:00 -0700 Subject: [PATCH] Allow (existing?) `clippy::redundant_closure_call` false positive. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) 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()) }