Re: [PATCH v5 4/4] rust: adding OwnableRefCounted and SimpleOwnableRefCounted
From: Miguel Ojeda
Date: Sun Mar 09 2025 - 17:47:40 EST
On Fri, Mar 7, 2025 at 4:58 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> Another possibility is to make the allow conditional.
That sounds fine to me -- we would lose checking for those not in the
latest version, but we would catch the mistakes on our side
eventually.
The advantage of using the `allow` is mostly less churn later on, and
perhaps fewer mistakes due to that. In terms of lines, it would still
be the same since they are single lines.
Oliver: I am sending a quick patch explaining this -- please feel free
to pick it up in your series.
Thanks!
Cheers,
Miguel