Update axum-macros/src/from_request.rs

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
This commit is contained in:
Zheng Li 2024-09-28 18:25:06 +08:00 committed by GitHub
parent 8b76b09d99
commit b46976f661
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
},