diff --git a/clap_derive/src/parse.rs b/clap_derive/src/attr.rs similarity index 100% rename from clap_derive/src/parse.rs rename to clap_derive/src/attr.rs diff --git a/clap_derive/src/item.rs b/clap_derive/src/item.rs index ebc83bdc..7e7a458c 100644 --- a/clap_derive/src/item.rs +++ b/clap_derive/src/item.rs @@ -13,7 +13,7 @@ // MIT/Apache 2.0 license. use crate::{ - parse::*, + attr::*, utils::{inner_type, is_simple_ty, process_doc_comment, Sp, Ty}, }; diff --git a/clap_derive/src/lib.rs b/clap_derive/src/lib.rs index 8e33d69f..19b96657 100644 --- a/clap_derive/src/lib.rs +++ b/clap_derive/src/lib.rs @@ -22,10 +22,10 @@ use proc_macro::TokenStream; use proc_macro_error::proc_macro_error; use syn::{parse_macro_input, DeriveInput}; +mod attr; mod derives; mod dummies; mod item; -mod parse; mod utils; /// Generates the `ValueEnum` impl.