d
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
use async_trait::async_trait;
|
||||
use proc_macro::TokenStream;
|
||||
use proc_macro2::Span;
|
||||
use quote::quote;
|
||||
@ -169,7 +168,7 @@ pub fn http(attr: TokenStream, item: TokenStream) -> TokenStream {
|
||||
/// ---------------------------------------------------------------------------
|
||||
#[proc_macro]
|
||||
pub fn dispatch(input: TokenStream) -> TokenStream {
|
||||
use quote::format_ident;
|
||||
|
||||
let input = parse_macro_input!(input as syn::ExprTuple);
|
||||
|
||||
if input.elems.len() != 2 {
|
||||
|
||||
Reference in New Issue
Block a user