summaryrefslogtreecommitdiffstats
path: root/vendor/rayon/src/iter/find.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rayon/src/iter/find.rs')
-rw-r--r--vendor/rayon/src/iter/find.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/rayon/src/iter/find.rs b/vendor/rayon/src/iter/find.rs
index 971db2b3c..b16ee8446 100644
--- a/vendor/rayon/src/iter/find.rs
+++ b/vendor/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)