diff options
| author | Alice Ryhl <[email protected]> | 2025-05-02 13:19:29 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-05-07 16:36:59 +0000 |
| commit | a1e4d5c9d708d7a0e7071015a120a4489404128f (patch) | |
| tree | a88dc4d7396e30cda4709fb9e7667bbd8d342a1e /scripts/rustdoc_test_builder.rs | |
| parent | rust: alloc: replace `Vec::set_len` with `inc_len` (diff) | |
| download | kernel-a1e4d5c9d708d7a0e7071015a120a4489404128f.tar.gz kernel-a1e4d5c9d708d7a0e7071015a120a4489404128f.zip | |
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 <[email protected]>
Reviewed-by: Tamir Duberstein <[email protected]>
Signed-off-by: Alice Ryhl <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions
