Skip to content

Commit 58b7efe

Browse files
committed
Stabilise ExactSizeIterator::len
1 parent b63cee4 commit 58b7efe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/iter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,6 +1055,7 @@ pub trait RandomAccessIterator: Iterator {
10551055
#[stable(feature = "rust1", since = "1.0.0")]
10561056
pub trait ExactSizeIterator: Iterator {
10571057
#[inline]
1058+
#[stable(feature = "rust1", since = "1.0.0")]
10581059
/// Return the exact length of the iterator.
10591060
fn len(&self) -> usize {
10601061
let (lower, upper) = self.size_hint();

0 commit comments

Comments
 (0)