diff options
| author | Gary Guo <gary@garyguo.net> | 2026-01-12 17:07:16 +0000 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-01-28 00:55:24 +0100 |
| commit | 5f7045772037b33365fddb541b671ded6a6bded6 (patch) | |
| tree | ad3e594c150ce060782423ee50c59507b32606e8 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | c578ad703ae9a219aa4bdd13343cf5254541c5e3 (diff) | |
rust: macros: use `quote!` for `module!` macro
This has no behavioural change, but is good for maintainability. With
`quote!`, we're no longer using string templates, so we don't need to
quote " and {} inside the template anymore. Further more, editors can
now highlight the code template.
This also improves the robustness as it eliminates the need for string
quoting and escaping.
Co-developed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260112170919.1888584-6-gary@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
