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
clap_derive: support fixed arrays as shortcut for number_of_values = N #1682
Comments
Could you create a separate issue for the tuples? |
Yeah actually having something automatic for tuples would solve my issue as I won't have to fight with Vec. (But I still believe the current impl of Vec is wrong but I didn't read your answer yet.) |
This change would be breaking if implemented after 3.0 is out, so triaging for 3.0 |
This also ties into
|
I've pushed this back to design as we'd need to figure out how people can opt-out of this behavior in case a value parser wants to output one of these |
Transferred from: TeXitoi/structopt#349
It would be even better if fixed sized arrays or tuples with different value types would be supported directly:
The text was updated successfully, but these errors were encountered: