mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 04:52:28 +00:00
less verbose
This commit is contained in:
parent
4ef216e8c8
commit
0b11aaf1f9
1 changed files with 1 additions and 2 deletions
|
@ -48,7 +48,7 @@ fn expand_field(field : &Field) -> TokenStream2
|
|||
}}
|
||||
}
|
||||
|
||||
pub fn expand(tokens : proc_macro::TokenStream) -> TokenStream
|
||||
pub fn expand(tokens : TokenStream) -> TokenStream
|
||||
{
|
||||
let input = parse_macro_input!(tokens as ItemStruct);
|
||||
|
||||
|
@ -94,6 +94,5 @@ pub fn expand(tokens : proc_macro::TokenStream) -> TokenStream
|
|||
}
|
||||
};
|
||||
|
||||
eprintln!("output: {}", output);
|
||||
output.into()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue