mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-27 00:00:24 +02:00
Remove B type param: Follow ups (#1789)
Co-authored-by: Jonas Platte <[email protected]> Co-authored-by: Michael Scofield <[email protected]>
This commit is contained in:
co-authored by
Jonas Platte
Michael Scofield
parent
72c1b7a80c
commit
6703f8634c
@@ -43,10 +43,9 @@ pub(crate) fn expand(attr: Attrs, item_fn: ItemFn) -> TokenStream {
|
||||
err.unwrap_or_else(|| {
|
||||
let state_ty = state_ty.unwrap_or_else(|| syn::parse_quote!(()));
|
||||
|
||||
let check_input_order = check_input_order(&item_fn);
|
||||
let check_future_send = check_future_send(&item_fn);
|
||||
|
||||
if let Some(check_input_order) = check_input_order {
|
||||
if let Some(check_input_order) = check_input_order(&item_fn) {
|
||||
quote! {
|
||||
#check_input_order
|
||||
#check_future_send
|
||||
|
||||
Reference in New Issue
Block a user