]> git.lizzy.rs Git - rust.git/commitdiff
Preface 'cares' with 'only'
authorRyan Leckey <leckey.ryan@gmail.com>
Sun, 6 Aug 2017 10:16:42 +0000 (03:16 -0700)
committerGitHub <noreply@github.com>
Sun, 6 Aug 2017 10:16:42 +0000 (03:16 -0700)
src/libcore/iter/iterator.rs

index 1685dba3c5a648da116f074e42565c647c0af6f9..2472efa14b30746cbdea4d6626894ec52334a20d 100644 (file)
@@ -1247,7 +1247,7 @@ fn by_ref(&mut self) -> &mut Self where Self: Sized { self }
     /// 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:
     ///
     /// ```