about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2024-04-08 17:43:24 -0400
committerTrevor Gross <tmgross@umich.edu>2024-04-08 17:43:24 -0400
commit2aec2fe3b8315741432a941f58b087d1311d9a44 (patch)
tree6b964ad348674d25c1d5d00cac18e01715e72b78 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent537aab7a2e7fe9cdf50b5ff18485e0793cd8db62 (diff)
downloadrust-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