Skip to content

Commit 5f8c5f1

Browse files
committed
Allow (existing?) clippy::redundant_closure_call false positive.
1 parent e883495 commit 5f8c5f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,6 +1806,7 @@ impl<T: FloatCore> NumCast for NotNan<T> {
18061806
macro_rules! impl_float_const_method {
18071807
($wrapper:expr, $method:ident) => {
18081808
#[allow(non_snake_case)]
1809+
#[allow(clippy::redundant_closure_call)]
18091810
fn $method() -> Self {
18101811
$wrapper(T::$method())
18111812
}

0 commit comments

Comments
 (0)