File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -209,14 +209,14 @@ pub trait Iterator {
209
209
210
210
/// Returns the `n`th element of the iterator.
211
211
///
212
- /// Note that all preceding elements, as well as the returned element, will be
213
- /// consumed. That means that the preceding elements will be discarded, and also
214
- /// that calling `nth(0)` multiple times on the same iterator will return different
215
- /// elements.
216
- ///
217
212
/// Like most indexing operations, the count starts from zero, so `nth(0)`
218
213
/// returns the first value, `nth(1)` the second, and so on.
219
214
///
215
+ /// Note that all preceding elements, as well as the returned element, will be
216
+ /// consumed from the iterator. That means that the preceding elements will be
217
+ /// discarded, and also that calling `nth(0)` multiple times on the same iterator
218
+ /// will return different elements.
219
+ ///
220
220
/// `nth()` will return [`None`] if `n` is greater than or equal to the length of the
221
221
/// iterator.
222
222
///
You can’t perform that action at this time.
0 commit comments