diff options
Diffstat (limited to 'vendor/rustc-rayon/src/iter/find.rs')
-rw-r--r-- | vendor/rustc-rayon/src/iter/find.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/rustc-rayon/src/iter/find.rs b/vendor/rustc-rayon/src/iter/find.rs index 971db2b3c..b16ee8446 100644 --- a/vendor/rustc-rayon/src/iter/find.rs +++ b/vendor/rustc-rayon/src/iter/find.rs @@ -94,7 +94,7 @@ where self.item = iter .into_iter() // stop iterating if another thread has found something - .take_while(not_full(&self.found)) + .take_while(not_full(self.found)) .find(self.find_op); if self.item.is_some() { self.found.store(true, Ordering::Relaxed) |