forked from mirror/async-std
cargo fmt
This commit is contained in:
parent
8e32fd09f3
commit
414fadd6e6
2 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ use read_to_end::{read_to_end_internal, ReadToEndFuture};
|
||||||
use read_to_string::ReadToStringFuture;
|
use read_to_string::ReadToStringFuture;
|
||||||
use read_vectored::ReadVectoredFuture;
|
use read_vectored::ReadVectoredFuture;
|
||||||
|
|
||||||
use std::mem;
|
|
||||||
use cfg_if::cfg_if;
|
use cfg_if::cfg_if;
|
||||||
|
use std::mem;
|
||||||
|
|
||||||
use crate::io::IoSliceMut;
|
use crate::io::IoSliceMut;
|
||||||
use crate::utils::extension_trait;
|
use crate::utils::extension_trait;
|
||||||
|
|
|
@ -503,7 +503,7 @@ extension_trait! {
|
||||||
fn min_by<F>(
|
fn min_by<F>(
|
||||||
self,
|
self,
|
||||||
compare: F,
|
compare: F,
|
||||||
)-> impl Future<Output = Option<Self::Item>> [MinByFuture<Self, F, Self::Item>]
|
) -> impl Future<Output = Option<Self::Item>> [MinByFuture<Self, F, Self::Item>]
|
||||||
where
|
where
|
||||||
Self: Sized,
|
Self: Sized,
|
||||||
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
|
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
|
||||||
|
|
Loading…
Reference in a new issue