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

chore: Apply Clippy lint match_like_matches_macro #5744

Merged

Conversation

jbencin
Copy link
Contributor

@jbencin jbencin commented Jan 24, 2025

Description

Warning

These change were applied manually and not with clippy --fix.
Please double-check to make sure I didn't accidentally reverse any bools!

Apply Clippy lint match_like_matches_macro, which finds if let and match expressions which evaluate to bool and can be simplified with the matches!() macro

@jbencin jbencin requested a review from a team as a code owner January 24, 2025 19:18
@jbencin jbencin added the lint Related to linting/clippy/cargo warns label Jan 24, 2025
Copy link
Collaborator

@jferrant jferrant left a comment

Choose a reason for hiding this comment

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

Noice.

@obycode obycode added this pull request to the merge queue Jan 27, 2025
Merged via the queue into stacks-network:develop with commit 5e11f2d Jan 27, 2025
184 of 188 checks passed
@jbencin jbencin deleted the chore/clippy-match-like-matches-macro branch January 28, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lint Related to linting/clippy/cargo warns
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants