Merge pull request #5541 from rustco/master

chore: fix some comments
This commit is contained in:
Ed Page 2024-06-20 06:32:42 -05:00 committed by GitHub
commit 5da658c5a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ Some practices to avoid breaking changes
time table and allow us to process feedback from early adopters before
requiring everyone to process them on the next major version.
- Please keep API addition and deprecation in separate commits in a PR to make it easier to review
- Develop the feature behind an `unstable-<name>` feature flag with a stablization tracking issue (e.g. [Multicall Tracking issue](https://github.com/clap-rs/clap/issues/2861))
- Develop the feature behind an `unstable-<name>` feature flag with a stabilization tracking issue (e.g. [Multicall Tracking issue](https://github.com/clap-rs/clap/issues/2861))
### Version Support Policy

View file

@ -677,7 +677,7 @@ impl<'cmd> Parser<'cmd> {
debug!("Parser::is_new_arg: --<something> found");
true
} else if next.is_short() {
// If this is a short flag, this is a new arg. But a singe '-' by
// If this is a short flag, this is a new arg. But a single '-' by
// itself is a value and typically means "stdin" on unix systems.
debug!("Parser::is_new_arg: -<something> found");
true