Remove some now unnecessary Clippy lints allowances

This commit is contained in:
Alejandro González 2024-07-10 23:41:31 +02:00 committed by andrews05
parent a8846b897d
commit 0506418157

View file

@ -72,12 +72,10 @@ where
impl<I: Iterator> ParallelIterator for I {}
#[allow(dead_code)]
pub fn join<A, B>(a: impl FnOnce() -> A, b: impl FnOnce() -> B) -> (A, B) {
(a(), b())
}
#[allow(dead_code)]
pub fn spawn<A>(a: impl FnOnce() -> A) -> A {
a()
}