@@ -38,7 +38,7 @@ pub trait Iterator<A> {
38
38
///
39
39
/// In the future these will be default methods instead of a utility trait.
40
40
pub trait IteratorUtil < A > {
41
- /// Chan this iterator with another, returning a new iterator which will
41
+ /// Chain this iterator with another, returning a new iterator which will
42
42
/// finish iterating over the current iterator, and then it will iterate
43
43
/// over the other specified iterator.
44
44
///
@@ -108,7 +108,7 @@ pub trait IteratorUtil<A> {
108
108
/// ~~~
109
109
fn filter < ' r > ( self , predicate : & ' r fn ( & A ) -> bool ) -> FilterIterator < ' r , A , Self > ;
110
110
111
- /// Creates an iterator which both filters and maps elements at the same
111
+ /// Creates an iterator which both filters and maps elements.
112
112
/// If the specified function returns None, the element is skipped.
113
113
/// Otherwise the option is unwrapped and the new value is yielded.
114
114
///
@@ -141,7 +141,7 @@ pub trait IteratorUtil<A> {
141
141
fn enumerate ( self ) -> EnumerateIterator < A , Self > ;
142
142
143
143
/// Creates an iterator which invokes the predicate on elements until it
144
- /// returns true . Once the predicate returns true , all further elements are
144
+ /// returns false . Once the predicate returns false , all further elements are
145
145
/// yielded.
146
146
///
147
147
/// # Example
0 commit comments