Skip to content

find: use array instead of closure - #450

Merged
sylvestre merged 1 commit into
uutils:mainfrom
cakebaker:find_fix_clippy_warning
Sep 6, 2024
Merged

sylvestre merged 1 commit into
uutils:mainfrom
cakebaker:find_fix_clippy_warning

Conversation

@cakebaker

Copy link
Copy Markdown
Contributor

This PR fixes a warning from the manual_pattern_char_comparison lint introduced with Rust 1.81.

fix warning from manual_pattern_char_comparison lint
@codecov

codecov Bot commented Sep 6, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.23%. Comparing base (f2e49d8) to head (b4f22f0).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #450      +/-   ##
==========================================
- Coverage   66.46%   66.23%   -0.23%     
==========================================
  Files          35       36       +1     
  Lines        4270     4366      +96     
  Branches      959      978      +19     
==========================================
+ Hits         2838     2892      +54     
- Misses       1041     1062      +21     
- Partials      391      412      +21     

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

@sylvestre

Copy link
Copy Markdown
Contributor

much better!

@sylvestre
sylvestre merged commit 8fc5ddb into uutils:main Sep 6, 2024
@cakebaker
cakebaker deleted the find_fix_clippy_warning branch September 6, 2024 07:01
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.

2 participants