summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-15 08:58:23 +0000
committerbors <bors@rust-lang.org>2023-05-15 08:58:23 +0000
commit8006510ab0f69ee75e9c3f7e8bff3776886dae51 (patch)
treee4433d2fdbe2b9f2dad099c7bead3c2a0c3cb3fb /tests/rustdoc-js-std/parser-errors.js
parent0bcfd2d96efe7a2cb5205c3af1b9eea17423fe65 (diff)
parentf2df861c7f35d8fe25ff9a2e9188ad90f8262188 (diff)
downloadrust-8006510ab0f69ee75e9c3f7e8bff3776886dae51.tar.gz
Auto merge of #111088 - nnethercote:fix-FileEncoder-buf-size, r=WaffleLapkin
Fix the `FileEncoder` buffer size. It allows a variable size, but in practice we always use the default of 8192 bytes. This commit fixes it to that size, which makes things slightly faster because the size can be hard-wired in generated code. The commit also: - Rearranges some buffer capacity checks so they're all in the same form (`x > BUFSIZE`). - Removes some buffer capacity assertions and comments about them. With an 8192 byte buffer, we're not in any danger of overflowing a `usize`. r? `@WaffleLapkin`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions