Skip to content

chore: resolve new clippy and fmt warnings - #1078

Merged
siriak merged 1 commit into
TheAlgorithms:masterfrom
vil02:resolve_new_clippy_and_fmt_warnings
Nov 26, 2026
Merged

siriak merged 1 commit into
TheAlgorithms:masterfrom
vil02:resolve_new_clippy_and_fmt_warnings

Conversation

@vil02

@vil02 vil02 commented Nov 26, 2026

Copy link
Copy Markdown
Member

Pull Request Template

Description

This PR resolves and fixes new warnings.
Similar to:

Checklist:

  • I ran bellow commands using the latest version of rust nightly.
  • I ran cargo clippy --all -- -D warnings just before my last commit and fixed any issue that was found.
  • I ran cargo fmt just before my last commit.
  • I ran cargo test just before my last commit and all tests passed.
  • I added my algorithm to the corresponding mod.rs file within its own folder, and in any parent folder(s).
  • I added my algorithm to DIRECTORY.md with the correct link.
  • I checked COUNTRIBUTING.md and my code follows its guidelines.

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

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.17%. Comparing base (fed66cb) to head (774dc6f).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1078      +/-   ##
==========================================
+ Coverage   95.89%   96.17%   +0.27%     
==========================================
  Files         396      396              
  Lines       30441    30418      -23     
==========================================
+ Hits        29192    29255      +63     
+ Misses       1249     1163      -86     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vil02
vil02 requested a review from siriak November 26, 2026 15:58
@vil02
vil02 marked this pull request as ready for review November 26, 2026 15:58
@vil02
vil02 requested a review from imp2002 as a code owner November 26, 2026 15:58

@siriak siriak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@siriak
siriak merged commit 976f1cd into TheAlgorithms:master Nov 26, 2026
7 checks passed
@vil02
vil02 deleted the resolve_new_clippy_and_fmt_warnings branch November 26, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants