diff options
Diffstat (limited to 'vendor/rustc-rayon/src/iter/try_reduce.rs')
-rw-r--r-- | vendor/rustc-rayon/src/iter/try_reduce.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/rustc-rayon/src/iter/try_reduce.rs b/vendor/rustc-rayon/src/iter/try_reduce.rs index 7bf6cc4a5..35a724c94 100644 --- a/vendor/rustc-rayon/src/iter/try_reduce.rs +++ b/vendor/rustc-rayon/src/iter/try_reduce.rs @@ -2,8 +2,7 @@ use super::plumbing::*; use super::ParallelIterator; use super::Try; -use super::private::ControlFlow::{self, Break, Continue}; - +use std::ops::ControlFlow::{self, Break, Continue}; use std::sync::atomic::{AtomicBool, Ordering}; pub(super) fn try_reduce<PI, R, ID, T>(pi: PI, identity: ID, reduce_op: R) -> T |