diff options
| author | Trevor Gross <tmgross@umich.edu> | 2024-04-08 17:43:24 -0400 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2024-04-08 17:43:24 -0400 |
| commit | 2aec2fe3b8315741432a941f58b087d1311d9a44 (patch) | |
| tree | 6b964ad348674d25c1d5d00cac18e01715e72b78 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 537aab7a2e7fe9cdf50b5ff18485e0793cd8db62 (diff) | |
| download | rust-2aec2fe3b8315741432a941f58b087d1311d9a44.tar.gz rust-2aec2fe3b8315741432a941f58b087d1311d9a44.zip | |
Update thread local docs with idiomatic cell type use
The `thread_local!` examples use `RefCell` for `Copy` types. Update examples to have one `Copy` and one non-`Copy` type using `Cell` and `RefCell`, respectively.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
