refactor: Be consistent in mod visibility

This commit is contained in:
Ed Page 2022-02-14 15:28:38 -06:00
parent a627778809
commit 44d85344a9
2 changed files with 6 additions and 5 deletions

View file

@ -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;

View file

@ -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},
};