TheAlgorithms / Rust

All Algorithms implemented in Rust
MIT License
21.51k stars 2.1k forks source link

style: include `needless_collect` #751

Closed vil02 closed 2 weeks ago

vil02 commented 2 weeks ago

Pull Request Template

Description

This PR removes the needless_collect from the list of suppressed lints.

Continuation of #743.

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.

codecov-commenter commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.01%. Comparing base (ea72bc8) to head (78c4baf).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #751 +/- ## ======================================= Coverage 95.01% 95.01% ======================================= Files 303 303 Lines 22529 22529 ======================================= Hits 21405 21405 Misses 1124 1124 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.