mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
Remove underscore prefix for build_conflict_err_usage
This commit is contained in:
parent
35f761e699
commit
97149e37f5
1 changed files with 2 additions and 2 deletions
|
@ -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()),
|
||||
|
|
Loading…
Reference in a new issue