File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,7 @@ where
120120/// This `struct` is created by the [`flatten`] method on [`Iterator`]. See its
121121/// documentation for more.
122122///
123- /// [`flatten`]: Iterator::flatten
124- /// [`Iterator`]: trait.Iterator.html
123+ /// [`flatten`]: Iterator::flatten()
125124#[ must_use = "iterators are lazy and do nothing unless consumed" ]
126125#[ stable( feature = "iterator_flatten" , since = "1.29.0" ) ]
127126pub struct Flatten < I : Iterator < Item : IntoIterator > > {
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ pub unsafe trait SourceIter {
110110 /// * whatever remains in the source after iteration has stopped
111111 /// * the memory that has become unused by advancing a consuming iterator
112112 ///
113- /// [`next()`]: Iterator::next
113+ /// [`next()`]: Iterator::next()
114114 unsafe fn as_inner ( & mut self ) -> & mut Self :: Source ;
115115}
116116
You can’t perform that action at this time.
0 commit comments