rust/library/std
León Orell Valerian Liehr a79fccc288
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
2024-01-03 16:08:33 +01:00
..
benches mv std libs to library/ 2020-07-27 19:51:13 -05:00
src Rollup merge of #119534 - tgross35:thread-local-example-updates, r=JohnTitor 2024-01-03 16:08:33 +01:00
tests Move RandomState and DefaultHasher into std::hash, but don't export for now 2023-11-02 20:35:20 -04:00
build.rs add teeos std impl 2023-12-07 10:33:03 +08:00
Cargo.toml Use different cfg for AIX 2023-12-13 10:15:27 +08:00