1
0
Fork 0
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:
Dominic 2020-05-03 23:25:48 +02:00
parent da30f34d97
commit 5e5e3aaf9d
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
5 changed files with 25 additions and 23 deletions

View file

@ -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;