mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-07-16 01:01:28 +00:00
don't use syn::token module
This commit is contained in:
parent
da30f34d97
commit
5e5e3aaf9d
5 changed files with 25 additions and 23 deletions
|
@ -4,6 +4,7 @@ use proc_macro::TokenStream;
|
|||
use proc_macro2::{Ident, Span, TokenStream as TokenStream2};
|
||||
use quote::{format_ident, quote};
|
||||
use syn::{
|
||||
parse_macro_input,
|
||||
spanned::Spanned,
|
||||
Attribute,
|
||||
AttributeArgs,
|
||||
|
@ -16,8 +17,7 @@ use syn::{
|
|||
NestedMeta,
|
||||
PatType,
|
||||
ReturnType,
|
||||
Type,
|
||||
parse_macro_input
|
||||
Type
|
||||
};
|
||||
use std::str::FromStr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue