diff options
| author | Hsiu Che Yu <yu.whisper.personal@gmail.com> | 2026-04-25 18:16:18 +0800 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-05-12 14:00:03 +0200 |
| commit | 802ca0008bba0b9a27479580c3c77b9e8095c4ef (patch) | |
| tree | 0a9cea59551f609c22eecec4f4ad563951b726ae /rust/kernel/alloc/allocator | |
| parent | 75619f2df7a5da6ffb61eedc2a73fdf70c65471c (diff) | |
rust: alloc: add doc test for `Vec::extend_with`
Add a doc test for `Vec::extend_with` demonstrating basic usage and the
zero-length case.
Signed-off-by: Hsiu Che Yu <yu.whisper.personal@gmail.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/a02bc604cde78ba505441a5555400e6f575e8a8a.1777111268.git.yu.whisper.personal@gmail.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions
