-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Justification needed for fn_to_numeric_cast #2980
Labels
A-documentation
Area: Adding or improving documentation
good-first-issue
These issues are a good way to get started with Clippy
Comments
oli-obk
added
good-first-issue
These issues are a good way to get started with Clippy
A-documentation
Area: Adding or improving documentation
labels
Aug 1, 2018
A few points that should be in the "why is this bad" section:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-documentation
Area: Adding or improving documentation
good-first-issue
These issues are a good way to get started with Clippy
https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#fn_to_numeric_cast
Justifying a style lint by calling it not good style is not a justification. I know "style" lints can be more difficult to justify than lints that catch what are almost certain to be bugs, but I looked through the "Why is this bad" section of all 81 other style lints present in Clippy 0.0.212 and I believe every other style lint is adequately justified.
I don't disagree with this lint, but by itself this explanation is not something I can point someone to and have them understand why I am asking them to change their code.
Mentioning @VKlayd who worked on this lint in #2814.
The text was updated successfully, but these errors were encountered: