about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-03-08 21:59:08 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2015-03-08 21:59:08 +1100
commit35275076f52d53c3dcd9dee85d92a2059a663225 (patch)
tree4e53f9025fffb3d35ea8fde533fd12073da19365 /src/libstd/sys/unix/stack_overflow.rs
parentd30609ffd782c941f38d62caaed8beb6fde965db (diff)
downloadrust-35275076f52d53c3dcd9dee85d92a2059a663225.tar.gz
rust-35275076f52d53c3dcd9dee85d92a2059a663225.zip
Remove unneeded `T: Send + Sync` bounds from `Arc`.
The requirement `T: Send + Sync` only matters if the `Arc` crosses
thread boundaries, and that is adequately controlled by the impls of
`Send`/`Sync` for `Arc` itself. If `T` doesn't satisfy the bounds, then
the `Arc` cannot cross thread boundaries and so everything is still
safe (`Arc` just acts like an expensive `Rc`).
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions