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: extract complex match block into a variable (clippy suggestion) #81

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

thomasheartman
Copy link
Contributor

Based on this clippy lint:

in a match scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a let

Should fix CI for #80.

Based on this clippy lint:

> in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
Copy link
Contributor

@chriswk chriswk left a comment

Choose a reason for hiding this comment

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

LGTM

@thomasheartman thomasheartman merged commit ebae633 into Unleash:main Mar 14, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants