Re: [PATCH v4 0/2] Arc methods for linked list

From: Miguel Ojeda
Date: Sun May 05 2024 - 18:28:51 EST


On Tue, Apr 2, 2024 at 3:07 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> This patchset contains two useful methods for the Arc type. They will be
> used in my Rust linked list implementation [1], which Rust Binder uses. See
> the Rust Binder RFC [2] for more information.
>
> Link: https://lore.kernel.org/rust-for-linux/20240402-linked-list-v1-0-b1c59ba7ae3b@xxxxxxxxxx/ [1]
> Link: https://lore.kernel.org/rust-for-linux/20231101-rust-binder-v1-0-08ba9197f637@xxxxxxxxxx/ [2]
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>

[ Replace `try_new` with `new` in example since we now have the new
allocation APIs. - Miguel ]

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

Cheers,
Miguel