Remove underscore prefix for build_conflict_err_usage

This commit is contained in:
tomjw64 2020-08-16 03:42:58 -05:00
parent 35f761e699
commit 97149e37f5

View file

@ -168,7 +168,7 @@ impl<'help, 'app, 'parser> Validator<'help, 'app, 'parser> {
Ok(()) Ok(())
} }
fn _build_conflict_err_usage( fn build_conflict_err_usage(
&self, &self,
matcher: &ArgMatcher, matcher: &ArgMatcher,
retained_arg: &Arg, retained_arg: &Arg,
@ -209,7 +209,7 @@ impl<'help, 'app, 'parser> Validator<'help, 'app, 'parser> {
(k, a, name, checked_arg) (k, a, name, checked_arg)
} }
}; };
let usg = self._build_conflict_err_usage(matcher, former_arg, latter); let usg = self.build_conflict_err_usage(matcher, former_arg, latter);
return Err(Error::argument_conflict( return Err(Error::argument_conflict(
former_arg, former_arg,
Some(latter_arg.to_string()), Some(latter_arg.to_string()),