aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/pyynl/cli.py
diff options
context:
space:
mode:
authorDaniel Sedlak <[email protected]>2024-11-23 09:50:30 +0000
committerMiguel Ojeda <[email protected]>2025-01-13 22:44:55 +0000
commit57c1ccc7e71a2f08ef0c1c525408195fb606bc36 (patch)
tree480931d45c4fa3f0a22daae12cbdfe8e7198a70a /tools/net/ynl/pyynl/cli.py
parentrust: rbtree: remove unwrap in asserts (diff)
downloadkernel-57c1ccc7e71a2f08ef0c1c525408195fb606bc36.tar.gz
kernel-57c1ccc7e71a2f08ef0c1c525408195fb606bc36.zip
rust: page: remove unnecessary helper function from doctest
Doctests in `page.rs` contained a helper function `dox` which acted as a wrapper for using the `?` operator. However, this is not needed because doctests are implicitly wrapped in function see [1]. Link: https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html#using--in-doc-tests [1] Suggested-by: Dirk Behme <[email protected]> Suggested-by: Miguel Ojeda <[email protected]> Link: https://lore.kernel.org/rust-for-linux/[email protected]/ Reviewed-by: Alice Ryhl <[email protected]> Reviewed-by: Tamir Duberstein <[email protected]> Signed-off-by: Daniel Sedlak <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Fixed typo in SoB. Slightly reworded commit. - Miguel ] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions