aboutsummaryrefslogtreecommitdiff
path: root/benches/fold_specialization.rs
diff options
context:
space:
mode:
Diffstat (limited to 'benches/fold_specialization.rs')
-rw-r--r--benches/fold_specialization.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/fold_specialization.rs b/benches/fold_specialization.rs
index 53319a5..5de4671 100644
--- a/benches/fold_specialization.rs
+++ b/benches/fold_specialization.rs
@@ -9,7 +9,7 @@ where I: Iterator
type Item = I::Item;
#[inline(always)]
- fn next(&mut self) -> Option<I::Item> {
+ fn next(&mut self) -> Option<Self::Item> {
self.0.next()
}