@@ -3158,10 +3158,10 @@ impl Arg {
31583158 /// .long("other")
31593159 /// .default_value_ifs([
31603160 /// ("flag", "true", Some("default")),
3161- /// ("opt", "channal ", Some("chan")),
3161+ /// ("opt", "channel ", Some("chan")),
31623162 /// ]))
31633163 /// .get_matches_from(vec![
3164- /// "prog", "--opt", "channal "
3164+ /// "prog", "--opt", "channel "
31653165 /// ]);
31663166 ///
31673167 /// assert_eq!(m.get_one::<String>("other").unwrap(), "chan");
@@ -3180,7 +3180,7 @@ impl Arg {
31803180 /// .long("other")
31813181 /// .default_value_ifs([
31823182 /// ("flag", "true", Some("default")),
3183- /// ("opt", "channal ", Some("chan")),
3183+ /// ("opt", "channel ", Some("chan")),
31843184 /// ]))
31853185 /// .get_matches_from(vec![
31863186 /// "prog"
@@ -3207,10 +3207,10 @@ impl Arg {
32073207 /// .long("other")
32083208 /// .default_value_ifs([
32093209 /// ("flag", ArgPredicate::IsPresent, Some("default")),
3210- /// ("opt", ArgPredicate::Equals("channal ".into()), Some("chan")),
3210+ /// ("opt", ArgPredicate::Equals("channel ".into()), Some("chan")),
32113211 /// ]))
32123212 /// .get_matches_from(vec![
3213- /// "prog", "--opt", "channal ", "--flag"
3213+ /// "prog", "--opt", "channel ", "--flag"
32143214 /// ]);
32153215 ///
32163216 /// assert_eq!(m.get_one::<String>("other").unwrap(), "default");
0 commit comments