about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2017-08-06 03:16:42 -0700
committerGitHub <noreply@github.com>2017-08-06 03:16:42 -0700
commitbbdff02f8c6bac42c0488afbcfa9cdf1fbd3d282 (patch)
tree04e9ad2de68c394246bff4ce364c34394daa0c18 /src/libcore
parentdd1df35f87beca7b1768b3e8fc3569dd8f9009e5 (diff)
downloadrust-bbdff02f8c6bac42c0488afbcfa9cdf1fbd3d282.tar.gz
rust-bbdff02f8c6bac42c0488afbcfa9cdf1fbd3d282.zip
Preface 'cares' with 'only'
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 1685dba3c5a..2472efa14b3 100644
--- a/src/libcore/iter/iterator.rs
+++ b/src/libcore/iter/iterator.rs
@@ -1247,7 +1247,7 @@ pub trait Iterator {
     /// assert_eq!(vec![2, 4, 6], doubled);
     /// ```
     ///
-    /// Because `collect()` cares about what you're collecting into, you can
+    /// Because `collect()` only cares about what you're collecting into, you can
     /// still use a partial type hint, `_`, with the turbofish:
     ///
     /// ```