update doc

This commit is contained in:
yjhmelody 2019-10-23 19:04:04 +08:00
parent 4e5828e646
commit d6f940110b

View file

@ -642,8 +642,8 @@ extension_trait! {
}
#[doc = r#"
Returns the element that gives the minimum value with respect to the
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,
the first element is returned. If the stream is empty, `None` is returned.
# Examples