aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rustdoc_test_gen.rs
diff options
context:
space:
mode:
authorTamir Duberstein <[email protected]>2025-07-09 19:31:12 +0000
committerMiguel Ojeda <[email protected]>2025-07-19 21:18:18 +0000
commit9cec86e4ae000947b268913ca0ef6ba519b6719a (patch)
tree98b5e5e6feaacab7074c4ced71f22635ac209d9e /scripts/rustdoc_test_gen.rs
parentrust: list: simplify macro capture (diff)
downloadkernel-9cec86e4ae000947b268913ca0ef6ba519b6719a.tar.gz
kernel-9cec86e4ae000947b268913ca0ef6ba519b6719a.zip
rust: list: use consistent type parameter style
Refer to the type parameters of `impl_has_list_links{,_self_ptr}!` by the same name used in `impl_list_item!`. Capture type parameters of `impl_list_item!` as `tt` using `{}` to match the style of all other macros that work with generics. Reviewed-by: Christian Schrefl <[email protected]> Tested-by: Alice Ryhl <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Signed-off-by: Tamir Duberstein <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions