From 8ce33ec4e7a742580357b03312011dc95ac6263a Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Sat, 2 Sep 2023 14:59:37 -0700 Subject: [PATCH 1/2] Add missing `arbitrary` to list of features in CI. --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 010c37b..6be131e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -78,4 +78,4 @@ jobs: args: --features ${{ env.all_features }} env: - all_features: "bytemuck,rand,randtest,serde,schemars,proptest,rkyv,rkyv_ck,speedy" + all_features: "arbitrary,bytemuck,rand,randtest,serde,schemars,proptest,rkyv,rkyv_ck,speedy" From 9d1cb56dec06a74abd11797b66c257c368483294 Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Sat, 2 Sep 2023 14:47:00 -0700 Subject: [PATCH 2/2] Allow `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 d8e20e7..ef41bba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1807,6 +1807,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()) }