From 0e0ad984c7417a2526ffa169bd06969dca3e67cc Mon Sep 17 00:00:00 2001 From: Zheng Li <875543533@qq.com> Date: Sat, 28 Sep 2024 18:25:13 +0800 Subject: [PATCH] Update axum-macros/src/from_request.rs Co-authored-by: Jonas Platte --- axum-macros/src/from_request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum-macros/src/from_request.rs b/axum-macros/src/from_request.rs index d204f730..92b8d9f2 100644 --- a/axum-macros/src/from_request.rs +++ b/axum-macros/src/from_request.rs @@ -843,7 +843,7 @@ fn impl_struct_by_extracting_all_at_once( req: ::axum::http::Request<::axum::body::Body>, state: &#state, ) -> ::std::result::Result { - <#via_path<#via_type_generics> as ::axum::extract::FromRequest<#trait_generics>>::from_request(req, state) + <#via_path<#via_type_generics> as ::axum::extract::FromRequest<#trait_generics, _>>::from_request(req, state) .await .map(|#via_path(value)| #value_to_self) .map_err(#map_err)