Skip to content

Commit bbdff02

Browse files
authored
Preface 'cares' with 'only'
1 parent dd1df35 commit bbdff02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ pub trait Iterator {
12471247
/// assert_eq!(vec![2, 4, 6], doubled);
12481248
/// ```
12491249
///
1250-
/// Because `collect()` cares about what you're collecting into, you can
1250+
/// Because `collect()` only cares about what you're collecting into, you can
12511251
/// still use a partial type hint, `_`, with the turbofish:
12521252
///
12531253
/// ```

0 commit comments

Comments
 (0)