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

refactor(lib): use #[non_exhaustive] #703

Closed
wants to merge 1 commit into from

Conversation

SandaruKasa
Copy link

This seems to be supported starting with 1.40 (the MSRV is 1.48) and accomplishes the exact same functionality.

Got caught by clippy btw.

@SandaruKasa
Copy link
Author

I would probably add some tests for this, but I don't think there's an easy way to add fails-to-compile tests without a 3rd party framework.

@tottoto
Copy link
Contributor

tottoto commented Jun 16, 2024

Duplicate of #678.

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