Re: [PATCH v3 0/4] rust: alloc: split `Vec::set_len` into `Vec::{inc,dec}_len`
From: Alice Ryhl
Date: Wed Apr 16 2025 - 09:29:11 EST
On Mon, Apr 07, 2025 at 10:52:30AM -0400, Tamir Duberstein wrote:
> This series is the product of a discussion[0] on the safety requirements
> of `set_len`.
>
> Link: https://lore.kernel.org/all/20250315154436.65065-1-dakr@xxxxxxxxxx/ [0]
> Link: https://lore.kernel.org/all/20250316111644.154602-2-andrewjballance@xxxxxxxxx/ [1]
> Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxx>
I'm still wondering if the divergence from upstream alloc is worth it...
but the code is okay.
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>