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
1 check passed
@jbencin jbencin deleted the chore/clippy-match-like-matches-macro branch January 28, 2025 17:16
@blockstack-devops
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Feb 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lint Related to linting/clippy/cargo warns locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants