Keep single use rayon::prelude::*
If either `rayon` is already imported, then `rayon::prelude::*` should always resolve.
This commit is contained in:
parent
54318cfad1
commit
31013e34a3
1 changed files with 0 additions and 3 deletions
|
|
@ -11,12 +11,9 @@ use crate::png::STD_STRATEGY;
|
||||||
use crate::png::STD_WINDOW;
|
use crate::png::STD_WINDOW;
|
||||||
#[cfg(not(feature = "parallel"))]
|
#[cfg(not(feature = "parallel"))]
|
||||||
use crate::rayon;
|
use crate::rayon;
|
||||||
#[cfg(not(feature = "parallel"))]
|
|
||||||
use crate::rayon::prelude::*;
|
|
||||||
use crate::Deadline;
|
use crate::Deadline;
|
||||||
#[cfg(feature = "parallel")]
|
#[cfg(feature = "parallel")]
|
||||||
use rayon;
|
use rayon;
|
||||||
#[cfg(feature = "parallel")]
|
|
||||||
use rayon::prelude::*;
|
use rayon::prelude::*;
|
||||||
use std::sync::atomic::AtomicUsize;
|
use std::sync::atomic::AtomicUsize;
|
||||||
use std::sync::atomic::Ordering::SeqCst;
|
use std::sync::atomic::Ordering::SeqCst;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue