TheAlgorithms / Rust

All Algorithms implemented in Rust
MIT License
22.92k stars 2.24k forks source link

chore: add `map_unwrap_or` warning #739

Closed vil02 closed 5 months ago

vil02 commented 5 months ago

Description

This PR adds map_unwrap_or into the clippy setup.

Similar to #738.

Codecov failuers are super annoying...

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.