Skip to content

Commit e55034b

Browse files
committed
Remove redundant sized clause
1 parent de20f53 commit e55034b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/traits/iterator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2719,7 +2719,7 @@ impl<I: Iterator> Iterator for &mut I {
27192719
(**self).nth(n)
27202720
}
27212721
fn try_fold<B, F, R>(&mut self, init: B, mut f: F) -> R where
2722-
I: Sized, F: FnMut(B, Self::Item) -> R, R: Try<Ok=B>
2722+
F: FnMut(B, Self::Item) -> R, R: Try<Ok=B>
27232723
{
27242724
(**self).try_fold(init, f)
27252725
}

0 commit comments

Comments
 (0)