Re: [PATCH 4/5] rust: alloc: add Vec::clear

Andreas Hindborg
2025-03-19T19:38:16Z

"Alice Ryhl" <aliceryhl@google.com> writes:

> Our custom Vec type is missing the stdlib method `clear`, thus add it.
> It will be used in the miscdevice sample.
>
> Signed-off-by: Alice Ryhl <aliceryhl@google.com>
> ---

Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org>

Best regards,
Andreas Hindborg