diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-27 11:15:38 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-07-02 10:46:44 +1000 |
| commit | 7416c20cfd781de5608494d67975be94e8689c24 (patch) | |
| tree | ecbd33df09ec421c5fcd4470550312387456c3ef /tests/codegen/patchable-function-entry | |
| parent | 0cfd2473be4a5555018cfbca089a7ed1bfd16c53 (diff) | |
| download | rust-7416c20cfd781de5608494d67975be94e8689c24.tar.gz rust-7416c20cfd781de5608494d67975be94e8689c24.zip | |
Just `push` in `AttrTokenStream::to_token_trees`.
Currently it uses a mixture of functional style (`flat_map`) and imperative style (`push`), which is a bit hard to read. This commit converts it to fully imperative, which is more concise and avoids the need for `smallvec`.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
