about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorRob Speer <rspeer+gh@luminoso.com>2017-01-19 02:53:33 -0500
committerRob Speer <rob@luminoso.com>2017-02-10 01:31:14 -0500
commitebf29ef0733ec0ac13ef16eb42bac17e3b94da3c (patch)
tree1d0d30bc4fc44ba338d039a36bc893a20fbfc259 /src/libcore
parent5cc5e0851e5bd14b9855462408ecb9058ed5eaad (diff)
downloadrust-ebf29ef0733ec0ac13ef16eb42bac17e3b94da3c.tar.gz
rust-ebf29ef0733ec0ac13ef16eb42bac17e3b94da3c.zip
Rephrase my proposed edit ("objects" -> "elements")
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/iter/iterator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter/iterator.rs b/src/libcore/iter/iterator.rs
index 0e14a93d253..4a8c8b53a8c 100644
--- a/src/libcore/iter/iterator.rs
+++ b/src/libcore/iter/iterator.rs
@@ -212,7 +212,7 @@ pub trait Iterator {
     /// Note that all preceding elements, as well as the returned element, will be
     /// consumed. That means that the preceding elements will be discarded, and also
     /// that calling `nth(0)` multiple times on the same iterator will return different
-    /// objects.
+    /// elements.
     ///
     /// Like most indexing operations, the count starts from zero, so `nth(0)`
     /// returns the first value, `nth(1)` the second, and so on.