about summary refs log tree commit diff
path: root/tests/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-27 07:55:38 +0200
committerGitHub <noreply@github.com>2024-04-27 07:55:38 +0200
commit7c5213cf0ab5505bfc07d0f4f1cd730bdc89699a (patch)
tree9f06e78c8c20172b76d1c31d7a2529af8eaaeb9a /tests/rustdoc-ui/coverage/enum-tuple.rs
parentcf07246ae9a95f7b145e8f1851723f5fe5fa0f96 (diff)
parentc63b0ceb94c4c953f080ff0c543a950737408ff7 (diff)
downloadrust-7c5213cf0ab5505bfc07d0f4f1cd730bdc89699a.tar.gz
rust-7c5213cf0ab5505bfc07d0f4f1cd730bdc89699a.zip
Rollup merge of #124387 - workingjubilee:use-raw-pointers-in-thread-locals, r=joboet
thread_local: be excruciatingly explicit in dtor code

Use raw pointers to accomplish internal mutability, and clearly split references where applicable. This reduces the likelihood that any of these parts are misunderstood, either by humans or the compiler's optimizations.

Fixes #124317

r? ``@joboet``
Diffstat (limited to 'tests/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions