diff --git a/src/io/read/mod.rs b/src/io/read/mod.rs index 3827681c..5a2276e3 100644 --- a/src/io/read/mod.rs +++ b/src/io/read/mod.rs @@ -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; diff --git a/src/stream/stream/mod.rs b/src/stream/stream/mod.rs index c1821848..07de323a 100644 --- a/src/stream/stream/mod.rs +++ b/src/stream/stream/mod.rs @@ -503,7 +503,7 @@ extension_trait! { fn min_by( self, compare: F, - )-> impl Future> [MinByFuture] + ) -> impl Future> [MinByFuture] where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,