Skip to content

Commit 9d1cb56

Browse files
committed
Allow clippy::redundant_closure_call false positive.
1 parent 8ce33ec commit 9d1cb56

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
@@ -1807,6 +1807,7 @@ impl<T: Float> NumCast for NotNan<T> {
18071807
macro_rules! impl_float_const_method {
18081808
($wrapper:expr, $method:ident) => {
18091809
#[allow(non_snake_case)]
1810+
#[allow(clippy::redundant_closure_call)]
18101811
fn $method() -> Self {
18111812
$wrapper(T::$method())
18121813
}

0 commit comments

Comments
 (0)