Renmusxd / RustQIP

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

fix clippy #50

Closed OmmyZhang closed 7 months ago

OmmyZhang commented 7 months ago

Now can pass clippy lint check. Make it more efficient and more easy to understand.

$ cargo clippy --all-features                                                                                                                                                            clippy
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s
Renmusxd commented 7 months ago

You even did all the "complex type" warnings, nice.