@@ -38,7 +38,7 @@ pub trait Iterator<A> {
3838///
3939/// In the future these will be default methods instead of a utility trait.
4040pub 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
4242 /// finish iterating over the current iterator, and then it will iterate
4343 /// over the other specified iterator.
4444 ///
@@ -108,7 +108,7 @@ pub trait IteratorUtil<A> {
108108 /// ~~~
109109 fn filter < ' r > ( self , predicate : & ' r fn ( & A ) -> bool ) -> FilterIterator < ' r , A , Self > ;
110110
111- /// Creates an iterator which both filters and maps elements at the same
111+ /// Creates an iterator which both filters and maps elements.
112112 /// If the specified function returns None, the element is skipped.
113113 /// Otherwise the option is unwrapped and the new value is yielded.
114114 ///
@@ -141,7 +141,7 @@ pub trait IteratorUtil<A> {
141141 fn enumerate ( self ) -> EnumerateIterator < A , Self > ;
142142
143143 /// 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
145145 /// yielded.
146146 ///
147147 /// # Example
0 commit comments