aboutsummaryrefslogtreecommitdiffstats
path: root/rust/macros/paste.rs
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2024-10-19 07:22:08 +0000
committerMiguel Ojeda <[email protected]>2024-10-21 18:35:53 +0000
commit15541c9263ce34ff95a06bc68f45d9bc5c990bcd (patch)
tree47751a91ccfb5984bf1bd74f791fcc30abfc01e0 /rust/macros/paste.rs
parentrust: kernel: fix THIS_MODULE header path in ThisModule doc comment (diff)
downloadkernel-15541c9263ce34ff95a06bc68f45d9bc5c990bcd.tar.gz
kernel-15541c9263ce34ff95a06bc68f45d9bc5c990bcd.zip
rust: macros: fix documentation of the paste! macro
One of the example in this section uses a curious mix of the constant and function declaration syntaxes; fix it. Signed-off-by: Paolo Bonzini <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Fixes: 823d4737d4c2 ("rust: macros: add `paste!` proc macro") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/macros/paste.rs')
0 files changed, 0 insertions, 0 deletions