Re: [PATCH v4] rust: move ARef and AlwaysRefCounted to sync::aref
From: Miguel Ojeda
Date: Tue Jul 22 2025 - 06:29:16 EST
On Tue, Jul 22, 2025 at 11:33 AM Benno Lossin <lossin@xxxxxxxxxx> wrote:
>
> `ARef` specifically is about supporting types that already have their
> own "built-in" reference counting. I'm not sure if built-in is the best
> word to describe that, some alternatives are inherent or internal.
Yeah, it is a bit ambiguous (e.g. it could also be understood as that
the code is always built as built-in, which is true currently).
> Maybe we can just expand the module level docs with:
>
> //! Internal Reference Counting Support.
That would be nice, yeah, please send a patch. I will use "Internal"
for the time being so that it matches what you have here. (Inherent
sounded also good to me.)
Thanks!
Cheers,
Miguel