aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorBenno Lossin <[email protected]>2023-04-24 08:11:38 +0000
committerMiguel Ojeda <[email protected]>2023-05-31 16:53:09 +0000
commite957b9cda31d5114905b0485af02d332fbd079d7 (patch)
treec0e935fd52c08a44e4ae4dbbdbb3b1470fc8b69d /rust/helpers.c
parentrust: macros: fix usage of `#[allow]` in `quote!` (diff)
downloadkernel-e957b9cda31d5114905b0485af02d332fbd079d7.tar.gz
kernel-e957b9cda31d5114905b0485af02d332fbd079d7.zip
rust: macros: refactor generics parsing of `#[pin_data]` into its own function
Other macros might also want to parse generics. Additionally this makes the code easier to read, as the next commit will introduce more code in `#[pin_data]`. Also add more comments to explain how parsing generics work. Signed-off-by: Benno Lossin <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Reviewed-by: Gary Guo <[email protected]> Reviewed-by: Martin Rodriguez Reboredo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions