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
unused_braces warning for default_value_t #3245
Comments
We missed covering `Args` warnings when using struct variants. Fixes clap-rs#3245
We missed covering `Args` warnings when using struct variants. Fixes clap-rs#3245
Thank you! That was very quick 😌 |
v3.0.1 is now released with the fix |
I still seem to be getting the error with 3.0.1:
Same code, just with 3.0.1 in Cargo.toml. |
Sorry, forgot to mark |
Does this mean it will be fixed in 3.0.2, since I already have 3.0.1? |
It is fixed in |
That did it, thank you! |
Please complete the following tasks
Rust Version
rustc 1.57.0 (f1edd0429 2021-11-29)
Clap Version
3.0.0
Minimal reproducible code
Steps to reproduce the bug with the above code
cargo check
Actual Behaviour
Expected Behaviour
There should be no warning
Additional Context
Pretty inexperienced in Rust and new to Clap, so hopefully I'm not doing something wrong.
Debug Output
No response
The text was updated successfully, but these errors were encountered: