Skip to content

Commit

Permalink
Preface 'cares' with 'only'
Browse files Browse the repository at this point in the history
  • Loading branch information
mehcode authored Aug 6, 2017
1 parent dd1df35 commit bbdff02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/iter/iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
///
/// ```
Expand Down

0 comments on commit bbdff02

Please sign in to comment.