[PATCH v2 2/3] rust: alloc: add Vec::resize method

Benno Lossin benno.lossin at proton.me
Sun Mar 16 18:01:21 UTC 2025


On Sun Mar 16, 2025 at 12:16 PM CET, Andrew Ballance wrote:
> implement the equivalent of the rust std's Vec::resize
> on the kernel's Vec type.
>
> Signed-off-by: Andrew Ballance <andrewjballance at gmail.com>

Reviewed-by: Benno Lossin <benno.lossin at proton.me>

---
Cheers,
Benno

> ---
>  rust/kernel/alloc/kvec.rs | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)



More information about the dri-devel mailing list