TheAlgorithms / Rust

All Algorithms implemented in Rust
MIT License
22.21k stars 2.17k forks source link

style: suppress some new clippy lints #754

Closed vil02 closed 3 months ago

vil02 commented 3 months ago

Pull Request Template

Description

This PR suppresses the integer_division_remainder_used and legacy_numeric_constants lints. It is needed due to currently failing clippy.

Checklist:

Please make sure that if there is a test that takes too long to run ( > 300ms), you #[ignore] that or try to optimize your code or make the test easier to run. We have this rule because we have hundreds of tests to run; If each one of them took 300ms, we would have to wait for a long time.