mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-12 09:50:45 +01:00
Update axum-macros/src/from_request.rs
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
This commit is contained in:
parent
b46976f661
commit
0e0ad984c7
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ fn impl_struct_by_extracting_all_at_once(
|
|||
req: ::axum::http::Request<::axum::body::Body>,
|
||||
state: &#state,
|
||||
) -> ::std::result::Result<Self, Self::Rejection> {
|
||||
<#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)
|
||||
|
|
Loading…
Reference in a new issue