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 b942d0a commit 021862dCopy full SHA for 021862d
src/stream/stream/mod.rs
@@ -786,15 +786,14 @@ extension_trait! {
786
# }) }
787
```
788
"#]
789
- fn min_by<F>(
+ fn min<F>(
790
self,
791
- compare: F,
792
- ) -> impl Future<Output = Option<Self::Item>> [MinByFuture<Self, F, Self::Item>]
+ ) -> impl Future<Output = Option<Self::Item>> [MinFuture<Self, F, Self::Item>]
793
where
794
Self: Sized,
795
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
796
{
797
- MinByFuture::new(self, compare)
+ MinFuture::new(self)
798
}
799
800
#[doc = r#"
0 commit comments