Skip to content

style: Replace map_or() with is_some_and() #104

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

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

Frederick888
Copy link
Owner

@Frederick888 Frederick888 commented Jan 30, 2025

Changes

d2d3e9f style: Replace map_or() with is_some_and()

[1] https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or

Checklist

  • I have rebased my branch so that it has no conflicts
  • I have added tests where appropriate
  • Commit messages are compliant with Conventional Commits

Is this a breaking change?

No

@Frederick888 Frederick888 merged commit 6ec804e into master Jan 30, 2025
37 checks passed
@Frederick888 Frederick888 deleted the lint-redundant-map-or branch January 30, 2025 09:47
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.

1 participant