about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-07-12 22:43:31 -0700
committerGitHub <noreply@github.com>2016-07-12 22:43:31 -0700
commit617039bff0decea56b6698497b589671b0371507 (patch)
tree87e9400d10662277520a45b4ff42bfc62a4da549 /src/libstd/sys/unix/stack_overflow.rs
parent4bbb1c5c9960f221259f6d3b1906999361c9258c (diff)
parentfbec232df1de37fce9badfe56c4a1d7c0050f3d5 (diff)
downloadrust-617039bff0decea56b6698497b589671b0371507.tar.gz
rust-617039bff0decea56b6698497b589671b0371507.zip
Auto merge of #34756 - habnabit:mutex-refunwindsafe, r=alexcrichton
Mutex and RwLock need RefUnwindSafe too

Incomplete, because I don't know what the appropriate stability annotation is here, but this is an attempt to bring the documentation for `std::panic` in line with reality. Right now, it says:

>Types like `&Mutex<T>`, however, are unwind safe because they implement poisoning by default.

But only `Mutex<T>`, not `&Mutex<T>`, is unwind-safe.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions