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 clippy::legacy_numeric_constants lints. #505

Merged

Conversation

waywardmonkeys
Copy link
Contributor

The std::f64::EPSILON and similar constants are being deprecated and it is encouraged to use the associated constants on f32 and f64 instead.

@waywardmonkeys
Copy link
Contributor Author

This is a newer lint that is present in the nightly clippy.

@waywardmonkeys waywardmonkeys force-pushed the no-more-legacy-numeric-constants branch from a88b0af to c37b55a Compare April 19, 2024 12:02
The `std::f64::EPSILON` and similar constants are being deprecated
and it is encouraged to use the associated constants on `f32` and
`f64` instead.
@waywardmonkeys waywardmonkeys force-pushed the no-more-legacy-numeric-constants branch from c37b55a to d6a597c Compare April 19, 2024 12:10
@bitshifter bitshifter merged commit 1b243db into bitshifter:main Apr 20, 2024
18 checks passed
@bitshifter
Copy link
Owner

Thanks!

@waywardmonkeys waywardmonkeys deleted the no-more-legacy-numeric-constants branch April 20, 2024 03:18
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.

2 participants