From: Ryan Leckey Date: Sun, 6 Aug 2017 10:16:42 +0000 (-0700) Subject: Preface 'cares' with 'only' X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=bbdff02f8c6bac42c0488afbcfa9cdf1fbd3d282;p=rust.git Preface 'cares' with 'only' --- 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 @@ 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: /// /// ```