Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an unstable
cast<U>() -> NonNull<U>
method to NonNull<T>
.
This is less verbose than going through raw pointers to cast with `as`.
- Loading branch information