diff options
author | Tamir Duberstein <tamird@gmail.com> | 2025-08-13 11:45:05 -0400 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2025-09-22 20:57:02 +0200 |
commit | 9578c3906c7d9a6f7c1ffefc73a4e8fc3452f336 (patch) | |
tree | 46c9cc28fd69cb0fdda4aa3b2456d05e4f0e0a5b /scripts/generate_rust_analyzer.py | |
parent | 657403637f7d343352efb29b53d9f92dcf86aebb (diff) |
rust: macros: reduce collections in `quote!` macro
Remove a handful of unnecessary intermediate vectors and token streams;
mainly the top-level stream can be directly extended with the notable
exception of groups.
Remove an unnecessary `#[allow(dead_code)]` added in commit dbd5058ba60c
("rust: make pin-init its own crate").
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions