Remove some now unnecessary Clippy lints allowances
This commit is contained in:
parent
a8846b897d
commit
0506418157
1 changed files with 0 additions and 2 deletions
|
|
@ -72,12 +72,10 @@ where
|
||||||
|
|
||||||
impl<I: Iterator> ParallelIterator for I {}
|
impl<I: Iterator> ParallelIterator for I {}
|
||||||
|
|
||||||
#[allow(dead_code)]
|
|
||||||
pub fn join<A, B>(a: impl FnOnce() -> A, b: impl FnOnce() -> B) -> (A, B) {
|
pub fn join<A, B>(a: impl FnOnce() -> A, b: impl FnOnce() -> B) -> (A, B) {
|
||||||
(a(), b())
|
(a(), b())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(dead_code)]
|
|
||||||
pub fn spawn<A>(a: impl FnOnce() -> A) -> A {
|
pub fn spawn<A>(a: impl FnOnce() -> A) -> A {
|
||||||
a()
|
a()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue