From 32853d7b19ddd5944b91a7ff20bcec4bce570a7f Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 2 Oct 2024 12:24:35 -0500 Subject: [PATCH] refactor(builder): Make Ext code similar for Arg, Command --- clap_builder/src/builder/command.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clap_builder/src/builder/command.rs b/clap_builder/src/builder/command.rs index 5ad30934f8d..36f43a36b9b 100644 --- a/clap_builder/src/builder/command.rs +++ b/clap_builder/src/builder/command.rs @@ -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; @@ -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)]