Skip to content

Commit

Permalink
Minor grammatical/style fix in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
pthariensflame committed Feb 28, 2018
1 parent affe297 commit db6a5ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/iter/iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
Expand Down

0 comments on commit db6a5ee

Please sign in to comment.