Skip to content

Commit

Permalink
fix(parser): Don't duplicate requireds when usage disabled
Browse files Browse the repository at this point in the history
Skipping a test for now because we don't have a mixed-feature testing
strategy.

Fixes #5312
  • Loading branch information
epage committed Jan 16, 2024
1 parent b250c0b commit 0a635b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clap_builder/src/parser/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ impl<'cmd> Validator<'cmd> {
"".to_owned()
}
})
.collect::<FlatSet<_>>()
.into_iter()
.collect::<Vec<_>>()
}
};
Expand Down

0 comments on commit 0a635b9

Please sign in to comment.