The std::num::Float was deprecated in alpha2 (and possibly beta1?), and has been removed in beta2. This PR fixes that issue and adjusts a few other things:
Remove Float (use .sqrt() instead)
Use moving iterator
use if let where appropriate
separate initialisation and loop in clipper (removes some layers of
indentaiton)
The
std::num::Float
was deprecated in alpha2 (and possibly beta1?), and has been removed in beta2. This PR fixes that issue and adjusts a few other things:.sqrt()
instead)if let
where appropriate