about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorJack O'Connor <oconnor663@gmail.com>2017-10-13 18:54:49 -0400
committerJack O'Connor <oconnor663@gmail.com>2017-10-13 18:54:49 -0400
commitfbf6885fd3ebc28a94007ab032ef1c9f135a0b69 (patch)
tree1fd983c5991ec7f2e1dfacda310655741218793e /src/libstd/sys/unix/stack_overflow.rs
parent6cb49d2a3e86f0d2f220f12c59c0ebb2965ff38c (diff)
downloadrust-fbf6885fd3ebc28a94007ab032ef1c9f135a0b69.tar.gz
rust-fbf6885fd3ebc28a94007ab032ef1c9f135a0b69.zip
remove the `T: Sync` requirement for `RwLock<T>: Send`
That requirement makes sense for containers like `Arc` that don't
uniquely own their contents, but `RwLock` is not one of those.

This restriction was added in
https://github.com/rust-lang/rust/commit/380d23b5d4b9fb8f5f0ebf178590f61528b2483e,
but it's not clear why.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions