Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find: use array instead of closure #450

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

cakebaker
Copy link
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
Copy link

codecov bot commented Sep 6, 2024

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
Contributor

much better!

@sylvestre sylvestre merged commit 8fc5ddb into uutils:main Sep 6, 2024
18 of 19 checks passed
@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