about summary refs log tree commit diff
path: root/src/libcore/iter/iterator.rs
diff options
context:
space:
mode:
authorKaiyin Zhong <kindlychung@gmail.com>2016-05-04 23:29:28 +0200
committerKaiyin Zhong <kindlychung@gmail.com>2016-05-04 23:29:28 +0200
commit16219deb5c87bcc85f4c28dff7d83705abbcfe19 (patch)
tree39d959a9c63e3b21905d11ea051d3d98a8ee99f8 /src/libcore/iter/iterator.rs
parent2ca31205f3688f452eafccf0337fe381d9db8457 (diff)
downloadrust-16219deb5c87bcc85f4c28dff7d83705abbcfe19.tar.gz
rust-16219deb5c87bcc85f4c28dff7d83705abbcfe19.zip
Update iterator.rs
Diffstat (limited to 'src/libcore/iter/iterator.rs')
-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 c13512a399a..b80f77c0d25 100644
--- a/src/libcore/iter/iterator.rs
+++ b/src/libcore/iter/iterator.rs
@@ -214,7 +214,7 @@ pub trait Iterator {
     /// Like most indexing operations, the count starts from zero, so `nth(0)`
     /// returns the first value, `nth(1)` the second, and so on.
     ///
-    /// `nth()` will return `None` if `n` >= the length of the
+    /// `nth()` will return `None` if `n` is greater than or equal to the length of the
     /// iterator.
     ///
     /// # Examples