From 8b80440350485a82b65f8d8a2b4075e54b85b6aa Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 10 Mar 2018 16:23:30 +0300 Subject: [PATCH] Rename CommonArgs -> AppExt --- src/bin/command_prelude.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/command_prelude.rs b/src/bin/command_prelude.rs index 5d10c76be..cc48bd373 100644 --- a/src/bin/command_prelude.rs +++ b/src/bin/command_prelude.rs @@ -11,7 +11,7 @@ pub use clap::Arg; pub type App = clap::App<'static, 'static>; -pub trait CommonArgs: Sized { +pub trait AppExt: Sized { fn _arg(self, arg: Arg<'static, 'static>) -> Self; fn arg_package(self, package: &'static str, all: &'static str, exclude: &'static str) -> Self { @@ -150,7 +150,7 @@ a global configuration.") } } -impl CommonArgs for App { +impl AppExt for App { fn _arg(self, arg: Arg<'static, 'static>) -> Self { self.arg(arg) } -- 2.30.2