diff options
author | Andrew Ballance <andrewjballance@gmail.com> | 2025-03-16 14:16:42 +0300 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-04-07 15:38:02 +0300 |
commit | 81e1c4dab5d0c508907722f18b028102454d52e6 (patch) | |
tree | f27cade4e6ccf6b57d932b3d38b849476b3e6a4d /scripts/lib/kdoc/kdoc_parser.py | |
parent | fb1bf1067de979c89ae33589e0466d6ce0dde204 (diff) | |
download | linux-81e1c4dab5d0c508907722f18b028102454d52e6.tar.xz |
rust: alloc: add Vec::truncate method
Implement the equivalent to the std's Vec::truncate on the kernel's Vec
type.
Link: https://lore.kernel.org/r/20250316111644.154602-2-andrewjballance@gmail.com
Signed-off-by: Andrew Ballance <andrewjballance@gmail.com>
[ Rewrote safety comment of set_len(). - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions