Auto merge of #43695 - mehcode:patch-1, r=QuietMisdreavus

Preface 'cares' with 'only'

Minor doc edit to make it clear that `collect` _only_ needs the collection type and is not just being caring.
This commit is contained in:
bors 2017-08-07 21:05:14 +00:00
commit cbbe17aa7f

View File

@ -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:
///
/// ```