From 62adf5e2083e9753b9e4058726005ed3a684ceac Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Fri, 20 Apr 2018 20:00:57 +0100 Subject: [PATCH] fix typos in arg_targets_all --- src/bin/command_prelude.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bin/command_prelude.rs b/src/bin/command_prelude.rs index a057a1fc5..79572d8d3 100644 --- a/src/bin/command_prelude.rs +++ b/src/bin/command_prelude.rs @@ -49,21 +49,21 @@ pub trait AppExt: Sized { lib: &'static str, bin: &'static str, bins: &'static str, - examle: &'static str, - examles: &'static str, + example: &'static str, + examples: &'static str, test: &'static str, tests: &'static str, bench: &'static str, - benchs: &'static str, + benches: &'static str, all: &'static str, ) -> Self { self.arg_targets_lib_bin(lib, bin, bins) - ._arg(multi_opt("example", "NAME", examle)) - ._arg(opt("examples", examles)) + ._arg(multi_opt("example", "NAME", example)) + ._arg(opt("examples", examples)) ._arg(multi_opt("test", "NAME", test)) ._arg(opt("tests", tests)) ._arg(multi_opt("bench", "NAME", bench)) - ._arg(opt("benches", benchs)) + ._arg(opt("benches", benches)) ._arg(opt("all-targets", all)) } -- 2.30.2