2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-30 01:05:31 +00:00

cargo fmt

This commit is contained in:
Stjepan Glavina 2019-09-26 23:13:02 -04:00
parent 8e32fd09f3
commit 414fadd6e6
2 changed files with 2 additions and 2 deletions

View file

@ -10,8 +10,8 @@ use read_to_end::{read_to_end_internal, ReadToEndFuture};
use read_to_string::ReadToStringFuture;
use read_vectored::ReadVectoredFuture;
use std::mem;
use cfg_if::cfg_if;
use std::mem;
use crate::io::IoSliceMut;
use crate::utils::extension_trait;

View file

@ -503,7 +503,7 @@ extension_trait! {
fn min_by<F>(
self,
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
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Ordering,