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 NonZeroUsize rather than generic NonZero, which is a fairly recent addition. #136

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

afranchuk
Copy link
Contributor

No description provided.

@Jake-Shadle
Copy link
Collaborator

Not sure I see the point of this? NonZeroUsize is literally just a type alias for NonZero<usize>.

@afranchuk
Copy link
Contributor Author

Generic NonZero<T> is only available since 1.79.0.

@gabrielesvelto gabrielesvelto merged commit f9af785 into rust-minidump:main Sep 17, 2024
16 checks passed
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.

3 participants