Skip to content

Commit b6c8a2b

Browse files
committed
Use in-place scope
1 parent 0b8daa9 commit b6c8a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ mod rayoff;
4040
mod rayoff {
4141
pub(crate) fn num_cpus() -> usize { std::thread::available_parallelism().map(|n| n.get()).unwrap_or(1) }
4242
pub(crate) use rayon::prelude::{ParallelBridge, ParallelIterator, ParallelSliceMut};
43-
pub(crate) use rayon::scope;
43+
pub(crate) use rayon::in_place_scope as scope;
4444
pub(crate) use thread_local::ThreadLocal;
4545
}
4646

0 commit comments

Comments
 (0)