-
Notifications
You must be signed in to change notification settings - Fork 292
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 a bit less NonNull::new_unchecked #501
Conversation
This project's CI is broken due to a dependency on a previous version of itself. Well ain't that something. |
@bors r+ |
Use a bit less NonNull::new_unchecked Using `NonNull::cast` instead of `NonNull::new_unchecked` is a bit less unsafe code, and it may provide a small improvement to compile times since rust-lang/rust#120594
💔 Test failed - checks-actions |
☔ The latest upstream changes (presumably #502) made this pull request unmergeable. Please resolve the merge conflicts. |
I fixed the CI separately in #502, can you rebase? |
46f1afc
to
87d58ec
Compare
Rebased! |
@bors r+ |
☀️ Test successful - checks-actions |
Using
NonNull::cast
instead ofNonNull::new_unchecked
is a bit less unsafe code, and it may provide a small improvement to compile times since rust-lang/rust#120594