Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix new clippy warnings from Rust 1.84 (#13645)
* Fix new clippy warnings from Rust 1.84 The recently release Rust 1.84 introduced some new clippy rules that are triggering warnings in the Qiskit rust code. This commit fixes these warnings as the point to real issues most of the time. However in this release a bunch of the warnings are coming from a pyo3 macro that internally had logic for a feature flag that only exists in pyo3. I think this is likely a rule bug in clippy, but in the meantime adding a gil-refs feature to the qiskit crates to match the feature pyo3 is using silences the warnings. * Fix formatting
- Loading branch information