Skip to content

Commit c136f65

Browse files
author
Rob Speer
authored
Rephrase my proposed edit ("objects" -> "elements")
1 parent 8e851d3 commit c136f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/libcore/iter/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ pub trait Iterator {
212212
/// Note that all preceding elements, as well as the returned element, will be
213213
/// consumed. That means that the preceding elements will be discarded, and also
214214
/// that calling `nth(0)` multiple times on the same iterator will return different
215-
/// objects.
215+
/// elements.
216216
///
217217
/// Like most indexing operations, the count starts from zero, so `nth(0)`
218218
/// returns the first value, `nth(1)` the second, and so on.

0 commit comments

Comments
 (0)