rust: alloc: add Vec::clear
Our custom Vec type is missing the stdlib method `clear`, thus add it. It will be used in the miscdevice sample. Reviewed-by:Benno Lossin <benno.lossin@proton.me> Reviewed-by:
Tamir Duberstein <tamird@gmail.com> Signed-off-by:
Alice Ryhl <aliceryhl@google.com> Reviewed-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20250502-vec-methods-v5-1-06d20ad9366f@google.com Signed-off-by:
Danilo Krummrich <dakr@kernel.org>
Loading
Please sign in to comment