mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 06:12:40 +00:00
refactor: Be consistent in mod visibility
This commit is contained in:
parent
a627778809
commit
44d85344a9
2 changed files with 6 additions and 5 deletions
|
@ -1,10 +1,9 @@
|
|||
#[macro_use]
|
||||
mod macros;
|
||||
|
||||
pub mod app;
|
||||
pub mod arg;
|
||||
|
||||
mod app;
|
||||
mod app_settings;
|
||||
mod arg;
|
||||
mod arg_group;
|
||||
mod arg_predicate;
|
||||
mod arg_settings;
|
||||
|
@ -25,10 +24,12 @@ pub use app::App;
|
|||
pub use app_settings::{AppFlags, AppSettings};
|
||||
pub use arg::Arg;
|
||||
pub use arg_group::ArgGroup;
|
||||
pub(crate) use arg_predicate::ArgPredicate;
|
||||
pub use arg_settings::{ArgFlags, ArgSettings};
|
||||
pub use possible_value::PossibleValue;
|
||||
pub use value_hint::ValueHint;
|
||||
|
||||
#[cfg(feature = "regex")]
|
||||
pub use self::regex::RegexRef;
|
||||
|
||||
pub(crate) use arg::display_arg_val;
|
||||
pub(crate) use arg_predicate::ArgPredicate;
|
||||
|
|
|
@ -9,7 +9,7 @@ use std::{
|
|||
|
||||
// Internal
|
||||
use crate::{
|
||||
build::{arg::display_arg_val, App, Arg},
|
||||
build::{display_arg_val, App, Arg},
|
||||
output::{fmt::Colorizer, Usage},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue