Eliminate 2015-style module system imports from serde_derive

This commit is contained in:
David Tolnay
2023-07-25 20:53:48 -07:00
parent 89f84c2915
commit 30f79b3b2e
11 changed files with 21 additions and 34 deletions
+1 -4
View File
@@ -1,9 +1,6 @@
//! A Serde ast, parsed from the Syn ast and ready to generate Rust code.
use internals::attr;
use internals::check;
use internals::{Ctxt, Derive};
use syn;
use crate::internals::{attr, check, Ctxt, Derive};
use syn::punctuated::Punctuated;
/// A source data structure annotated with `#[derive(Serialize)]` and/or `#[derive(Deserialize)]`,