Re: [PATCH v20 1/8] rust: alloc: add `KBox::into_non_null`
| Newsgroups | org.freedesktop.lists.dri-devel,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <[email protected]> |
> Add a method to consume a `Box<T, A>` and return a `NonNull<T>`. This > is a convenience wrapper around `Self::into_raw` for callers that need > a `NonNull` pointer rather than a raw pointer. > > Signed-off-by: Andreas Hindborg <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1