Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Don't panic when getting number of values #3247

Merged
merged 1 commit into from
Jan 3, 2022
Merged

Conversation

epage
Copy link
Member

@epage epage commented Jan 3, 2022

I was tempted to remove the exact-size nature. Wouldn't be breaking
since it only panics but decided to go ahead and do this for now.

Fixes #3241

I was tempted to remove the exact-size nature.  Wouldn't be breaking
since it only panics but decided to go ahead and do this for now.

Fixes clap-rs#3241
@epage epage merged commit 3782d8e into clap-rs:master Jan 3, 2022
@epage epage deleted the len branch January 3, 2022 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

values_of ... len() panics due to exact_size
1 participant