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

Use Point-Free syntax to avoid uninhabited warnings #184

Merged
merged 6 commits into from
Jul 18, 2024

Conversation

stephencelis
Copy link
Member

These closures are effectively sendable since they're "thin", but the initializer breaks the point-free style, and introduces unfortunate warnings when dealing with uninhabited enums.

@stephencelis stephencelis requested a review from mbrandonw July 18, 2024 18:28
@stephencelis stephencelis merged commit 12bc5b9 into main Jul 18, 2024
2 checks passed
@stephencelis stephencelis deleted the fix-uninhabited-warnings branch July 18, 2024 19:38
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