mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-12 01:40:41 +01:00
Update axum-macros/src/from_request.rs
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
This commit is contained in:
parent
8b76b09d99
commit
b46976f661
1 changed files with 1 additions and 1 deletions
|
@ -618,7 +618,7 @@ fn extract_fields(
|
|||
let field_ty = into_outer(&via, ty_span, peel_result_ok(&field.ty).unwrap());
|
||||
quote_spanned! {ty_span=>
|
||||
#member: {
|
||||
<#field_ty as ::axum::extract::FromRequest<#trait_generics>>::from_request(req, state)
|
||||
<#field_ty as ::axum::extract::FromRequest<#trait_generics, _>>::from_request(req, state)
|
||||
.await
|
||||
.map(#into_inner)
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue