diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-19 09:22:08 +0200 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2024-10-21 20:35:53 +0200 |
commit | 15541c9263ce34ff95a06bc68f45d9bc5c990bcd (patch) | |
tree | 47751a91ccfb5984bf1bd74f791fcc30abfc01e0 /rust/helpers | |
parent | 8b55dc8610acf816a66373be53ca6e3bbe2d313a (diff) | |
download | linux-15541c9263ce34ff95a06bc68f45d9bc5c990bcd.tar.gz linux-15541c9263ce34ff95a06bc68f45d9bc5c990bcd.tar.bz2 linux-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 <pbonzini@redhat.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Fixes: 823d4737d4c2 ("rust: macros: add `paste!` proc macro")
Link: https://lore.kernel.org/r/20241019072208.1016707-1-pbonzini@redhat.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions