rigetti / quil-rs

Quil Parser & Program Builder
https://rigetti.github.io/quil-rs/
Apache License 2.0
20 stars 9 forks source link

chore: remove deprecated `f64` constants to satisfy Clippy #378

Closed antalsz closed 4 months ago

antalsz commented 4 months ago

The MSRV Clippy check was failing; looks like std::f64::EPSILON is now f64::EPSILON.

github-actions[bot] commented 4 months ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://rigetti.github.io/quil-rs/pr-preview/pr-378/ on branch quil-py-docs at 2024-06-13 17:37 UTC

BatmanAoD commented 4 months ago

I'm surprised by the deprecation of std::f64 but I guess it makes sense. Docs: https://doc.rust-lang.org/std/f64/constant.EPSILON.html