From 430290fb76a8d27182751fba2071edff353fdd46 Mon Sep 17 00:00:00 2001 From: Daniel-Aaron-Bloom <76709210+Daniel-Aaron-Bloom@users.noreply.github.com> Date: Tue, 21 May 2024 13:14:19 -0700 Subject: [PATCH] fix: remove clippy unexpected_cfgs warning (#1588) Since `std` doesn't exist as a cfg, `not(std)` was always true, so this does not change any behavior. --- maybe_rayon/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maybe_rayon/src/lib.rs b/maybe_rayon/src/lib.rs index 94289849..718b046f 100644 --- a/maybe_rayon/src/lib.rs +++ b/maybe_rayon/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(not(std), no_std)] +#![no_std] #[cfg(not(feature = "parallel"))] extern crate alloc;