Skip to content

Commit 99f7285

Browse files
kpreidmbrubeck
authored andcommitted
Allow clippy::redundant_closure_call false positive.
1 parent a5390f8 commit 99f7285

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
@@ -1825,6 +1825,7 @@ impl<T: Float> NumCast for NotNan<T> {
18251825
macro_rules! impl_float_const_method {
18261826
($wrapper:expr, $method:ident) => {
18271827
#[allow(non_snake_case)]
1828+
#[allow(clippy::redundant_closure_call)]
18281829
fn $method() -> Self {
18291830
$wrapper(T::$method())
18301831
}

0 commit comments

Comments
 (0)