This PR fixes various nits and whatnots that clippy yells at me about (as of MSRV).
The majority of these were replacing use std::f32::INFINITY with a simpler f32::INFINITY, apparently because std::f32::INFINITY will be deprecated at some point? It seems all a bit vague.
I don't feel strongly about any of these changes in particular, but I do like a project to have no clippy warnings, so if there's anything you'd like to revert here, just lmk and I'll swap to making clippy::allows instead
This PR fixes various nits and whatnots that clippy yells at me about (as of MSRV).
The majority of these were replacing
use std::f32::INFINITY
with a simplerf32::INFINITY
, apparently becausestd::f32::INFINITY
will be deprecated at some point? It seems all a bit vague.I don't feel strongly about any of these changes in particular, but I do like a project to have no clippy warnings, so if there's anything you'd like to revert here, just lmk and I'll swap to making clippy::allows instead