We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5828e commit d6f9401Copy full SHA for d6f9401
src/stream/stream/mod.rs
@@ -642,8 +642,8 @@ extension_trait! {
642
}
643
644
#[doc = r#"
645
- Returns the element that gives the minimum value with respect to the
646
- specified comparison function. If several elements are equally minimum,
+ Returns the element that gives the maximum value with respect to the
+ specified comparison function. If several elements are equally maximum,
647
the first element is returned. If the stream is empty, `None` is returned.
648
649
# Examples
0 commit comments