Skip to content

Commit

Permalink
refactor(builder): Make Ext code similar for Arg, Command
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Oct 2, 2024
1 parent e9ce1be commit 32853d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clap_builder/src/builder/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use std::path::Path;
// Internal
use crate::builder::app_settings::{AppFlags, AppSettings};
use crate::builder::arg_settings::ArgSettings;
use crate::builder::ext::Extension;
use crate::builder::ext::Extensions;
use crate::builder::ArgAction;
use crate::builder::IntoResettable;
Expand Down Expand Up @@ -4909,7 +4910,7 @@ impl fmt::Display for Command {
}

#[allow(dead_code)] // atm dependent on features enabled
pub(crate) trait AppExt: crate::builder::ext::Extension {}
pub(crate) trait AppExt: Extension {}

#[allow(dead_code)] // atm dependent on features enabled
#[derive(Default, Copy, Clone, Debug)]
Expand Down

0 comments on commit 32853d7

Please sign in to comment.