mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 05:26:47 +00:00
Preface 'cares' with 'only'
This commit is contained in:
parent
dd1df35f87
commit
bbdff02f8c
@ -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:
|
||||
///
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user