diff options
author | Benno Lossin <[email protected]> | 2023-04-24 08:11:38 +0000 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2023-05-31 18:53:09 +0200 |
commit | e957b9cda31d5114905b0485af02d332fbd079d7 (patch) | |
tree | c0e935fd52c08a44e4ae4dbbdbb3b1470fc8b69d /rust/kernel | |
parent | b8342addded0099610902775617917fdee6edde8 (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