Skip to content

Commit

Permalink
Remove some now unnecessary Clippy lints allowances
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTMjugador authored and andrews05 committed Jul 11, 2024
1 parent a8846b8 commit 0506418
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rayon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

0 comments on commit 0506418

Please sign in to comment.