Ungroup imports

This commit is contained in:
David Tolnay
2023-07-25 21:06:57 -07:00
parent 11677ad926
commit dd9913675d
19 changed files with 44 additions and 68 deletions
@@ -2,15 +2,9 @@
extern crate quote;
#[macro_use]
extern crate syn;
extern crate proc_macro;
extern crate proc_macro2;
mod internals;
use proc_macro::TokenStream;
use syn::DeriveInput;
#[macro_use]
mod bound;
#[macro_use]
@@ -18,11 +12,15 @@ mod fragment;
mod de;
mod dummy;
mod internals;
mod pretend;
mod ser;
mod this;
mod try;
use proc_macro::TokenStream;
use syn::DeriveInput;
#[proc_macro_derive(Serialize, attributes(serde))]
pub fn derive_serialize(input: TokenStream) -> TokenStream {
let mut input = parse_macro_input!(input as DeriveInput);