about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-01-03 16:08:33 +0100
committerGitHub <noreply@github.com>2024-01-03 16:08:33 +0100
commita79fccc288adca3006dfa2c4320885c328a53230 (patch)
tree0d6dbefe93ad91343cf182f67809875fff0ca297 /compiler/rustc_expand/src
parentfcec407f4a8a310d369f19b43bb6833db6cc5ebd (diff)
parent6f49080fa8f5921e7e2062bb358fd1ad79b8d4ba (diff)
downloadrust-a79fccc288adca3006dfa2c4320885c328a53230.tar.gz
rust-a79fccc288adca3006dfa2c4320885c328a53230.zip
Rollup merge of #119534 - tgross35:thread-local-example-updates, r=JohnTitor
Update `thread_local` examples to use `local_key_cell_methods`

`local_key_cell_methods` has been stable for a while and provides a much less clunky way to interface with thread-local

Additionaly add context to the documentation about why types with interior mutability are needed.

r? libs
Diffstat (limited to 'compiler/rustc_expand/src')
0 files changed, 0 insertions, 0 deletions