aboutsummaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorBenno Lossin <[email protected]>2023-04-24 08:11:38 +0000
committerMiguel Ojeda <[email protected]>2023-05-31 18:53:09 +0200
commite957b9cda31d5114905b0485af02d332fbd079d7 (patch)
treec0e935fd52c08a44e4ae4dbbdbb3b1470fc8b69d /rust/kernel
parentb8342addded0099610902775617917fdee6edde8 (diff)
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/kernel')
0 files changed, 0 insertions, 0 deletions