From 2e973a264974e270ab5626eca7611f8bf9f173ba Mon Sep 17 00:00:00 2001 From: Simon Morgan Date: Sat, 22 Aug 2020 16:49:09 +0100 Subject: [PATCH] Fix a few documentation typos --- src/build/arg/mod.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/build/arg/mod.rs b/src/build/arg/mod.rs index 50c0cc98..59b2e2b6 100644 --- a/src/build/arg/mod.rs +++ b/src/build/arg/mod.rs @@ -2210,9 +2210,9 @@ impl<'help> Arg<'help> { /// different. `Arg::default_value` *only* takes affect when the user has not provided this arg /// at runtime. `Arg::default_value_if` however only takes effect when the user has not provided /// a value at runtime **and** these other conditions are met as well. If you have set - /// `Arg::default_value` and `Arg::default_value_if`, and the user **did not** provide a this - /// arg at runtime, nor did were the conditions met for `Arg::default_value_if`, the - /// `Arg::default_value` will be applied. + /// `Arg::default_value` and `Arg::default_value_if`, and the user **did not** provide this arg + /// at runtime, nor were the conditions met for `Arg::default_value_if`, the `Arg::default_value` + /// will be applied. /// /// **NOTE:** This implicitly sets [`Arg::takes_value(true)`]. /// @@ -2403,9 +2403,8 @@ impl<'help> Arg<'help> { /// different. `Arg::default_value` *only* takes affect when the user has not provided this arg /// at runtime. This setting however only takes affect when the user has not provided a value at /// runtime **and** these other conditions are met as well. If you have set `Arg::default_value` - /// and `Arg::default_value_if`, and the user **did not** provide a this arg at runtime, nor did - /// were the conditions met for `Arg::default_value_if`, the `Arg::default_value` will be - /// applied. + /// and `Arg::default_value_if`, and the user **did not** provide this arg at runtime, nor were + /// the conditions met for `Arg::default_value_if`, the `Arg::default_value` will be applied. /// /// **NOTE:** This implicitly sets [`Arg::takes_value(true)`]. ///