Rollup merge of #48603 - pthariensflame:patch-1, r=frewsxcv
Fixes #47311. r? @nrc
This commit is contained in:
commit
b2b9707696
@ -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…
x
Reference in New Issue
Block a user