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

Replace match with if let #9

Merged

Conversation

kyle-rader-msft
Copy link
Contributor

A small simplification from #6 since the match only cares about 1 scenario, an if let block can do the same thing in a slightly cleaner way removing the unused match arm.

@TheDaemoness TheDaemoness merged commit 19de668 into TheDaemoness:main Mar 7, 2024
4 checks passed
@kyle-rader-msft kyle-rader-msft deleted the user/kyrader/use-if-let branch March 7, 2024 17:59
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