Renmusxd / RustQIP

Quantum computing using rust. Efficient and a borrow-checked no cloning theorem!
https://docs.rs/qip/
MIT License
223 stars 18 forks source link

Clippy lints #28

Closed oxarbitrage closed 3 years ago

oxarbitrage commented 3 years ago

Tried to run clippy in the repo and there are a lot of lints, we should try to fix it as it will allow developers to merge better code.

Will be nice if the following command passes without warnings or errors at some time in the future:

cargo clippy --all-features --all-targets
Renmusxd commented 3 years ago

Ah, I had been running clippy without --all-targets so missed all these. I'll start going through them.

Renmusxd commented 3 years ago

Fixed in 2755a6c and 4c4eba8

oxarbitrage commented 3 years ago

Awesome, thanks.