fn fails_arg_required_unless(&self, a: &Arg<'b>, matcher: &ArgMatcher) -> bool {
        debug!("Validator::fails_arg_required_unless: a={:?}", a.name);
        macro_rules! check {
            ($how:ident, $_self:expr, $a:ident, $m:ident) => {{
                $a.r_unless
                    .as_ref()
                    .map(|ru| !ru.iter().$how(|n| $m.contains(n)))
                    .unwrap_or(false)
            }};
        }
        if a.is_set(ArgSettings::RequiredUnlessAll) {
            debug!("Validator::fails_arg_required_unless:{}:All", a.name);
            check!(all, self.p, a, matcher)
        } else {
            debug!("Validator::fails_arg_required_unless:{}:Any", a.name);
            check!(any, self.p, a, matcher)
        }
    }
// Failing a required unless means, the arg's "unless" wasn't present, and neither were they
Failing a required unless means, the arg's "unless" wasn't present, and neither were they
Failing a required unless means the arg ' s " unless " wasn ' t present and neither were they
fn fails_arg_required_unless(&self, a: &Arg<'b>, matcher: &ArgMatcher) -> bool {
        debug!("Validator::fails_arg_required_unless: a={:?}", a.name);
        macro_rules! check {
            ($how:ident, $_self:expr, $a:ident, $m:ident) => {{
                $a.r_unless
                    .as_ref()
                    .map(|ru| !ru.iter().$how(|n| $m.contains(n)))
                    .unwrap_or(false)
            }};
        }
        if a.is_set(ArgSettings::RequiredUnlessAll) {
            debug!("Validator::fails_arg_required_unless:{}:All", a.name);
            check!(all, self.p, a, matcher)
        } else {
            debug!("Validator::fails_arg_required_unless:{}:Any", a.name);
            check!(any, self.p, a, matcher)
        }
    }
fn fails_arg_required_unless ( & self , a : & Arg < ' b > , matcher : & ArgMatcher ) -> bool { debug ! ( " " a name ) ; macro_rules! check { ( $how : ident $_self : expr $a : ident $m : ident ) => { { $a r_unless as_ref ( ) map ( ru ru iter ( ) $how ( n $m contains ( n ) ) ) unwrap_or ( false ) } } ; } if a . is_set ( ArgSettings :: RequiredUnlessAll ) { debug ! ( " " a name ) ; check ! ( all self p a matcher ) } else { debug ! ( " " a name ) ; check ! ( any self p a matcher ) } }
Failing a required unless means, the arg's "unless" wasn't present, and neither were they
Failing a required unless means the arg ' s " unless " wasn ' t present and neither were they
&self
a
&Arg<'b>
matcher
&ArgMatcher
&self
a
&Arg<'b>
matcher
&ArgMatcher