run cargo fix for rust 2024 changes and rustfmt
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
use std::marker::Unpin;
|
||||
|
||||
use futures::{
|
||||
future::{select_ok, try_join, try_join_all, try_select},
|
||||
Future, FutureExt,
|
||||
future::{select_ok, try_join, try_join_all, try_select},
|
||||
};
|
||||
|
||||
pub trait BoolExt
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
use std::marker::Unpin;
|
||||
|
||||
use futures::{future, future::Select, Future};
|
||||
use futures::{Future, future, future::Select};
|
||||
|
||||
/// This interface is not necessarily complete; feel free to add as-needed.
|
||||
pub trait ExtExt<T>
|
||||
|
||||
@@ -3,7 +3,7 @@ mod ext_ext;
|
||||
mod option_ext;
|
||||
mod try_ext_ext;
|
||||
|
||||
pub use bool_ext::{and, or, BoolExt};
|
||||
pub use bool_ext::{BoolExt, and, or};
|
||||
pub use ext_ext::ExtExt;
|
||||
pub use option_ext::OptionExt;
|
||||
pub use try_ext_ext::TryExtExt;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#![allow(clippy::wrong_self_convention)]
|
||||
|
||||
use futures::{future::OptionFuture, Future, FutureExt};
|
||||
use futures::{Future, FutureExt, future::OptionFuture};
|
||||
|
||||
pub trait OptionExt<T> {
|
||||
fn is_none_or(self, f: impl FnOnce(&T) -> bool + Send) -> impl Future<Output = bool> + Send;
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
use std::marker::Unpin;
|
||||
|
||||
use futures::{
|
||||
future,
|
||||
TryFuture, TryFutureExt, future,
|
||||
future::{MapOkOrElse, TrySelect, UnwrapOrElse},
|
||||
TryFuture, TryFutureExt,
|
||||
};
|
||||
|
||||
/// This interface is not necessarily complete; feel free to add as-needed.
|
||||
|
||||
Reference in New Issue
Block a user