diff options
author | Alice Ryhl <aliceryhl@google.com> | 2025-05-02 13:19:29 +0000 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-05-07 18:36:59 +0200 |
commit | a1e4d5c9d708d7a0e7071015a120a4489404128f (patch) | |
tree | a88dc4d7396e30cda4709fb9e7667bbd8d342a1e /scripts/generate_rust_analyzer.py | |
parent | 88d5d6a38d5161228fbfe017eb94d777d5e8a0e4 (diff) |
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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions