about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-16 11:29:49 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-17 06:23:39 +0530
commit8a6b72400929e02b7a92de481e76f767e484d304 (patch)
tree75e6b2eaf77126b17fd95cf116430b8fa8afa607 /src
parent47803212e8a9d9ed2b24fa991796abe66819cd12 (diff)
parent58b7efe5a6b1fa344e028a993570b88783f7f0d5 (diff)
downloadrust-8a6b72400929e02b7a92de481e76f767e484d304.tar.gz
rust-8a6b72400929e02b7a92de481e76f767e484d304.zip
Rollup merge of #22344 - nagisa:exactsizediter, r=alexcrichton
 Appears to be just an oversight given it is the only method in a stable trait.

r? @aturon because you did final alpha stabilisation of iterators.
Diffstat (limited to 'src')
-rw-r--r--src/libcore/iter.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs
index 06aba2cb08e..f4d560cb4c9 100644
--- a/src/libcore/iter.rs
+++ b/src/libcore/iter.rs
@@ -1055,6 +1055,7 @@ pub trait RandomAccessIterator: Iterator {
 #[stable(feature = "rust1", since = "1.0.0")]
 pub trait ExactSizeIterator: Iterator {
     #[inline]
+    #[stable(feature = "rust1", since = "1.0.0")]
     /// Return the exact length of the iterator.
     fn len(&self) -> usize {
         let (lower, upper) = self.size_hint();