-
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
Lint basic arithmetic on integers or floating point arithmetic #887
Labels
Comments
We could also lint floating point arithmetic. See RFC: Float-free libcore rust-lang/rfcs#1596. |
mcarton
added
good-first-issue
These issues are a good way to get started with Clippy
A-lint
Area: New lints
labels
Apr 29, 2016
Sure, the more the merrier 😄 |
mcarton
changed the title
lint basic arithmetic on integers
Lint basic arithmetic on integers or floating point arithmetic
Apr 29, 2016
llogiq
added a commit
that referenced
this issue
Apr 30, 2016
Manishearth
added a commit
that referenced
this issue
Apr 30, 2016
fix #887: New lints for integer/floating-point arithmetic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
This would be an allow lint that could be activated for code where a more specific kind of arithmetic is wanted (e.g. wrapping or checked).
Courtesy of tomaka on reddit
The text was updated successfully, but these errors were encountered: