Re: [PATCH v2 1/2] rust: list: extract common code for insertion
From: Andreas Hindborg
Date: Tue Jan 21 2025 - 08:08:09 EST
"Alice Ryhl" <aliceryhl@xxxxxxxxxx> writes:
> To prepare for a new cursor API that has the ability to insert elements
> into the list, extract the common code needed for this operation into a
> new `insert_inner` method.
>
> Both `push_back` and `push_front` are updated to use the new function.
>
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
Reviewed-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
Best regards,
Andreas Hindborg