about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2024-01-02 17:24:59 -0600
committerTrevor Gross <tmgross@umich.edu>2024-01-02 22:24:26 -0600
commit6f49080fa8f5921e7e2062bb358fd1ad79b8d4ba (patch)
treee3b6e59fd955a97e5c77b7ed0fd0bd9dede97046 /compiler/rustc_expand/src
parente51e98dde6a60637b6a71b8105245b629ac3fe77 (diff)
downloadrust-6f49080fa8f5921e7e2062bb358fd1ad79b8d4ba.tar.gz
rust-6f49080fa8f5921e7e2062bb358fd1ad79b8d4ba.zip
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 variables.

Additionaly add context to the documentation about why types with interior
mutability are needed.
Diffstat (limited to 'compiler/rustc_expand/src')
0 files changed, 0 insertions, 0 deletions