Skip to content

Commit 0506418

Browse files
AlexTMjugadorandrews05
authored andcommitted
Remove some now unnecessary Clippy lints allowances
1 parent a8846b8 commit 0506418

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/rayon.rs

-2
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,10 @@ where
7272

7373
impl<I: Iterator> ParallelIterator for I {}
7474

75-
#[allow(dead_code)]
7675
pub fn join<A, B>(a: impl FnOnce() -> A, b: impl FnOnce() -> B) -> (A, B) {
7776
(a(), b())
7877
}
7978

80-
#[allow(dead_code)]
8179
pub fn spawn<A>(a: impl FnOnce() -> A) -> A {
8280
a()
8381
}

0 commit comments

Comments
 (0)