Skip to content

Commit

Permalink
Merge #1051
Browse files Browse the repository at this point in the history
1051: Fix typo in max_by docs r=cuviper a=Rilazy



Co-authored-by: Riley John McCabe <35211613+Rilazy@users.noreply.github.com>
  • Loading branch information
bors[bot] and LilyIsTrans committed May 22, 2023
2 parents 3883630 + 1004cec commit 2c97943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ pub trait ParallelIterator: Sized + Send {

/// Computes the maximum of all the items in the iterator with respect to
/// the given comparison function. If the iterator is empty, `None` is
/// returned; otherwise, `Some(min)` is returned.
/// returned; otherwise, `Some(max)` is returned.
///
/// Note that the order in which the items will be reduced is not
/// specified, so if the comparison function is not associative, then
Expand Down

0 comments on commit 2c97943

Please sign in to comment.