Skip to content

Commit d6f9401

Browse files
committed
update doc
1 parent 4e5828e commit d6f9401

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stream/stream/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,8 +642,8 @@ extension_trait! {
642642
}
643643

644644
#[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,
645+
Returns the element that gives the maximum value with respect to the
646+
specified comparison function. If several elements are equally maximum,
647647
the first element is returned. If the stream is empty, `None` is returned.
648648
649649
# Examples

0 commit comments

Comments
 (0)