chore: fix some comments

Signed-off-by: rustco <ruster@111.com>
This commit is contained in:
rustco 2024-06-20 11:40:13 +08:00
parent 9c1153d6b4
commit 462c5ada4a
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