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

Benno Lossin benno.lossin at proton.me
Sat Mar 15 10:10:00 UTC 2025


On Sat Mar 15, 2025 at 3:42 AM CET, Andrew Ballance wrote:
> implemnts 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 | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)



More information about the dri-devel mailing list