TheAlgorithms / Rust

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

style: cleanup `run_length_encoding.rs` #744

Closed vil02 closed 3 weeks ago

vil02 commented 3 weeks ago

Pull Request Template

Description

This PR cleanups the run_length_encoding.rs:

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 3 weeks ago

Codecov Report

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

Project coverage is 95.01%. Comparing base (2544d28) to head (32895ca).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #744 +/- ## ========================================== - Coverage 95.02% 95.01% -0.01% ========================================== Files 303 303 Lines 22563 22526 -37 ========================================== - Hits 21440 21403 -37 Misses 1123 1123 ```

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