Eliminate #[macro_use] from serde_derive

This commit is contained in:
David Tolnay
2023-07-25 18:32:02 -07:00
parent dd9913675d
commit 0fb672a1ef
13 changed files with 18 additions and 20 deletions
+1
View File
@@ -1,4 +1,5 @@
use proc_macro2::{Punct, Spacing, TokenStream};
use quote::quote;
// None of our generated code requires the `From::from` error conversion
// performed by the standard library's `try!` macro. With this simplified macro