Eliminate #[macro_use] from serde_derive

This commit is contained in:
David Tolnay committed 2023-07-25 23:23:24 -07:00
1 parent dd9913675d
commit 0fb672a1ef
13 files changed
+18 -20

No files matched your search

@@ -1,9 +1,7 @@
#[macro_use]
extern crate quote;
#[macro_use]
extern crate syn;
extern crate proc_macro;
extern crate proc_macro2;
extern crate quote;
extern crate syn;
#[macro_use]
mod bound;
@@ -19,7 +17,7 @@ mod this;
mod try;
use proc_macro::TokenStream;
use syn::DeriveInput;
use syn::{parse_macro_input, DeriveInput};
#[proc_macro_derive(Serialize, attributes(serde))]
pub fn derive_serialize(input: TokenStream) -> TokenStream {