diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-15 10:58:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 10:58:40 +0200 |
commit | 916ba6dec1b5d223c1fdb8799cc1f0b57d404115 (patch) | |
tree | d3aec1af8a078bb24f7dde317792ff88d8c28172 /tests/rustdoc-js-std/parser-errors.js | |
parent | be8718a80bd3a45a03efbe534578df359f765472 (diff) | |
parent | 00c3f7552ebaef26165da93ef2c88a09ba70d5c2 (diff) | |
download | rust-916ba6dec1b5d223c1fdb8799cc1f0b57d404115.tar.gz |
Rollup merge of #111548 - calebcartwright:by-ref-tokentree2, r=compiler-errors
add util function to TokenStream to eliminate some clones
Another proposed change in the same vein as #111492 trying to get rid of some clones.
This adds a TokenStream helper function so that rustdoc can directly get a chunks iterator over the underlying token trees so that it no longer needs the clones and vec.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions