mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
cargo fmt
This commit is contained in:
parent
0b2eac4da7
commit
f4fb9db65c
1 changed files with 4 additions and 4 deletions
|
@ -748,7 +748,7 @@ impl<'help> Arg<'help> {
|
|||
pub fn required_unless_eq_all<T, I>(mut self, names: I) -> Self
|
||||
where
|
||||
I: IntoIterator<Item = T>,
|
||||
T: Key
|
||||
T: Key,
|
||||
{
|
||||
self.r_unless.extend(names.into_iter().map(Id::from));
|
||||
self.setting(ArgSettings::RequiredUnlessAll)
|
||||
|
@ -821,7 +821,7 @@ impl<'help> Arg<'help> {
|
|||
pub fn required_unless_eq_any<T, I>(mut self, names: I) -> Self
|
||||
where
|
||||
I: IntoIterator<Item = T>,
|
||||
T: Key
|
||||
T: Key,
|
||||
{
|
||||
self.r_unless.extend(names.into_iter().map(Id::from));
|
||||
self
|
||||
|
|
Loading…
Reference in a new issue