about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-05-15 17:12:44 +0200
committerGitHub <noreply@github.com>2023-05-15 17:12:44 +0200
commitc93c2985d88dc7fc2c4444096f81e522aa3ea876 (patch)
tree943a181fd13d63c0cfe3de335b9cccb4b049d2d3 /library/std/src/sys/unix/stack_overflow.rs
parent1063548a1a2ff954087eeeb8b6598c28cafa1e22 (diff)
parent2563fbeab31def56b66cbdebd7bb0b7e5efbecb8 (diff)
downloadrust-c93c2985d88dc7fc2c4444096f81e522aa3ea876.tar.gz
rust-c93c2985d88dc7fc2c4444096f81e522aa3ea876.zip
Rollup merge of #110049 - SkiFire13:localkey-with-docs-fix, r=workingjubilee
Don't claim `LocalKey::with` prevents a reference to be sent across threads

The documentation for `LocalKey` claims that `with` yields a reference that cannot be sent across threads, but this is false since you can easily do that with scoped threads. What it actually prevents is the reference from outliving the current thread.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions