diff options
| author | Jimmy Ostler <[email protected]> | 2024-12-20 06:25:33 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2025-01-13 22:45:30 +0000 |
| commit | 91da5a24144e5a82bf88c5f72068cf1628198668 (patch) | |
| tree | 4c39526b0a90efa79e3422fc5abb6370fcb3f47e /tools/net/ynl/pyynl/cli.py | |
| parent | rust: init: update `stack_try_pin_init` examples (diff) | |
| download | kernel-91da5a24144e5a82bf88c5f72068cf1628198668.tar.gz kernel-91da5a24144e5a82bf88c5f72068cf1628198668.zip | |
rust: alloc: add doctest for `ArrayLayout::new()`
Add a rustdoc example and Kunit test to the `ArrayLayout` struct's
`ArrayLayout::new()` function.
This patch depends on the first patch in this series in order for the
KUnit test to compile.
Suggested-by: Boqun Feng <[email protected]>
Link: https://github.com/Rust-for-Linux/linux/issues/1131
Reviewed-by: Danilo Krummrich <[email protected]>
Signed-off-by: Jimmy Ostler <[email protected]>
Link: https://lore.kernel.org/r/f1564da5bcaa6be87aee312767a1d1694a03d1b7.1734674670.git.jtostler1@gmail.com
[ Added periods to example comments. Reworded title. - Miguel ]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions
