diff options
Diffstat (limited to 'src/libcore/iter.rs')
| -rw-r--r-- | src/libcore/iter.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs index 7706d01cbae..b0660230c2c 100644 --- a/src/libcore/iter.rs +++ b/src/libcore/iter.rs @@ -95,6 +95,7 @@ pub trait Extendable<A>: FromIterator<A> { /// is returned. A concrete Iterator implementation may choose to behave however /// it wishes, either by returning `None` infinitely, or by doing something /// else. +#[lang="iterator"] pub trait Iterator<A> { /// Advance the iterator and return the next value. Return `None` when the end is reached. fn next(&mut self) -> Option<A>; |
