2096: Fix a few documentation typos r=CreepySkeleton a=drguildo



Co-authored-by: Simon Morgan <sjm@sjm.io>
This commit is contained in:
bors[bot] 2020-08-22 16:50:19 +00:00 committed by GitHub
commit 6a56a82629
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2210,9 +2210,9 @@ impl<'help> Arg<'help> {
/// different. `Arg::default_value` *only* takes affect when the user has not provided this arg /// 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 /// 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 /// 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::default_value` and `Arg::default_value_if`, and the user **did not** provide this arg
/// arg at runtime, nor did were the conditions met for `Arg::default_value_if`, the /// at runtime, nor were the conditions met for `Arg::default_value_if`, the `Arg::default_value`
/// `Arg::default_value` will be applied. /// will be applied.
/// ///
/// **NOTE:** This implicitly sets [`Arg::takes_value(true)`]. /// **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 /// 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 /// 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` /// 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 /// and `Arg::default_value_if`, and the user **did not** provide this arg at runtime, nor were
/// were the conditions met for `Arg::default_value_if`, the `Arg::default_value` will be /// the conditions met for `Arg::default_value_if`, the `Arg::default_value` will be applied.
/// applied.
/// ///
/// **NOTE:** This implicitly sets [`Arg::takes_value(true)`]. /// **NOTE:** This implicitly sets [`Arg::takes_value(true)`].
/// ///