This commit is contained in:
co63oc
2025-02-28 07:48:26 +01:00
committed by Yann Simon
parent 2a5189ed63
commit f9ba7776d9
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ macro_rules! impl_handler_call_with {
Fut: Future + Send + 'static,
Fut::Output: IntoResponse,
{
// this puts `futures_util` in our public API but thats fine in axum-extra
// this puts `futures_util` in our public API but that's fine in axum-extra
type Future = Map<Fut, fn(Fut::Output) -> Response>;
fn call(
+2 -2
View File
@@ -26,7 +26,7 @@ where
Rt: Send + 'static,
Lt: Send + 'static,
{
// this puts `futures_util` in our public API but thats fine in axum-extra
// this puts `futures_util` in our public API but that's fine in axum-extra
type Future = EitherFuture<
Map<L::Future, fn(<L::Future as Future>::Output) -> Response>,
Map<R::Future, fn(<R::Future as Future>::Output) -> Response>,
@@ -62,7 +62,7 @@ where
Rt::Rejection: Send,
S: Send + Sync + 'static,
{
// this puts `futures_util` in our public API but thats fine in axum-extra
// this puts `futures_util` in our public API but that's fine in axum-extra
type Future = BoxFuture<'static, Response>;
fn call(self, req: Request, state: S) -> Self::Future {