Re: [PATCH v2] rust: sync: add `UniqueArc::as_ptr`

From: Andreas Hindborg

Date: Mon Jun 08 2026 - 04:39:54 EST


Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> writes:

> On Fri, Jun 5, 2026 at 3:17 PM Andreas Hindborg <a.hindborg@xxxxxxxxxx> wrote:
>>
>> Add a method to `UniqueArc` for getting a raw pointer. The implementation
>> defers to the `Arc` implementation of the same method.
>>
>> Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
>
> Like Sashiko mentions: did you put it in the `<T>` impl for some
> reason? Do you want me to move it to a new `?Sized` one?

Oversight on my end, this should apply to DST as well. Feel free to move
it, or I can send a new version.

Best regards,
Andreas Hindborg