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(())
}
fn _build_conflict_err_usage(
fn build_conflict_err_usage(
&self,
matcher: &ArgMatcher,
retained_arg: &Arg,
@ -209,7 +209,7 @@ impl<'help, 'app, 'parser> Validator<'help, 'app, 'parser> {
(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(
former_arg,
Some(latter_arg.to_string()),