diff options
| author | Trevor Gross <tmgross@umich.edu> | 2024-01-02 17:24:59 -0600 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2024-01-02 22:24:26 -0600 |
| commit | 6f49080fa8f5921e7e2062bb358fd1ad79b8d4ba (patch) | |
| tree | e3b6e59fd955a97e5c77b7ed0fd0bd9dede97046 /compiler/rustc_expand/src | |
| parent | e51e98dde6a60637b6a71b8105245b629ac3fe77 (diff) | |
| download | rust-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
