about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-11-28 16:09:54 +0100
committerGitHub <noreply@github.com>2023-11-28 16:09:54 +0100
commit97ef5a3b532a471da95e32640cee0a5aa9bb04bb (patch)
treec380692d1c6c8eb5ceb4baf220272e06cf48096d /tests/rustdoc-js-std/parser-errors.js
parentb8e1194ab22a991253fa2ee73156fdb5fb87d893 (diff)
parentbc7dd5fa6d87d8a2826511a2e25aba976e4e1f25 (diff)
downloadrust-97ef5a3b532a471da95e32640cee0a5aa9bb04bb.tar.gz
rust-97ef5a3b532a471da95e32640cee0a5aa9bb04bb.zip
Rollup merge of #118222 - the8472:copy-use-vec-write, r=m-ou-se
unify read_to_end and io::copy impls for reading into a Vec

This ports over the initial probe (to avoid allocation) and the dynamic read sizing from the io::copy specialization to the `default_read_to_end` implementation which already had its own optimizations for different cases.

I think it should be a best-of-both now.

suggested by `@a1phyr` in https://github.com/rust-lang/rust/pull/117576#issuecomment-1803408492
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions