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:
@@ -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:
|
||||
///
|
||||
/// ```
|
||||
|
||||
Reference in New Issue
Block a user