run cargo fix for rust 2024 changes and rustfmt

Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
This commit is contained in:
June Clementine Strawberry
2025-02-23 01:17:45 -05:00
parent e97952b7f6
commit a1e1f40ded
320 changed files with 2212 additions and 2039 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -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;

View File

@@ -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;

View File

@@ -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.