summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-18 09:29:21 +0000
committerbors <bors@rust-lang.org>2023-02-18 09:29:21 +0000
commit3701bdc6333145410f009c83bd03f424eca05009 (patch)
treecabec78c289224033894c07fa509d6d5a99c9617 /tests/rustdoc-js-std/parser-errors.js
parent6d819a4b8f45b170e7c2c415df20cfa2e0cbbf7f (diff)
parent6520488e37f39a11affd776ab1283a0a3fe8087e (diff)
downloadrust-3701bdc6333145410f009c83bd03f424eca05009.tar.gz
Auto merge of #107329 - joboet:optimize_lazylock, r=m-ou-se
Optimize `LazyLock` size The initialization function was unnecessarily stored separately from the data to be initialized. Since both cannot exist at the same time, a `union` can be used, with the `Once` acting as discriminant. This unfortunately requires some extra methods on `Once` so that `Drop` can be implemented correctly and efficiently. `@rustbot` label +T-libs +A-atomic
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions