Re: [PATCH v2] rust: sync: document `PhantomData` in `Arc`

From: Miguel Ojeda
Date: Tue Dec 17 2024 - 18:53:31 EST


On Thu, Nov 7, 2024 at 11:36 AM Tamir Duberstein <tamird@xxxxxxxxx> wrote:
>
> Add a comment explaining the relevant semantics of `PhantomData`. This
> should help future readers who may, as I did, assume that this field is
> redundant at first glance.
>
> Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxx>

Applied to `rust-next` -- thanks everyone!

Cheers,
Miguel