Minor grammatical/style fix in docs.
This commit is contained in:
parent
affe297c13
commit
db6a5ee1aa
1 changed files with 2 additions and 2 deletions
|
@ -1062,8 +1062,8 @@ pub trait Iterator {
|
|||
/// assert_eq!(merged, "alphabetagamma");
|
||||
/// ```
|
||||
///
|
||||
/// You can also rewrite this in terms of [`flat_map()`] which is preferable
|
||||
/// in this case since that conveys intent clearer:
|
||||
/// You can also rewrite this in terms of [`flat_map()`], which is preferable
|
||||
/// in this case since it conveys intent more clearly:
|
||||
///
|
||||
/// ```
|
||||
/// let words = ["alpha", "beta", "gamma"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue