From 05064181576a04eed57c618660eeace1639f7e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Gonz=C3=A1lez?= Date: Wed, 10 Jul 2024 23:41:31 +0200 Subject: [PATCH] Remove some now unnecessary Clippy lints allowances --- src/rayon.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rayon.rs b/src/rayon.rs index 8f538909..d7f75fbc 100644 --- a/src/rayon.rs +++ b/src/rayon.rs @@ -72,12 +72,10 @@ where impl ParallelIterator for I {} -#[allow(dead_code)] pub fn join(a: impl FnOnce() -> A, b: impl FnOnce() -> B) -> (A, B) { (a(), b()) } -#[allow(dead_code)] pub fn spawn(a: impl FnOnce() -> A) -> A { a() }