]> git.lizzy.rs Git - rust.git/commit
alloc: Make deriving more friendly with Arc
authorAlex Crichton <alex@alexcrichton.com>
Fri, 17 Oct 2014 18:00:02 +0000 (11:00 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 28 Oct 2014 05:45:44 +0000 (22:45 -0700)
commit35ad00d2ec63432ff4a5b4a0def8c9eae46125b6
tree0b048eedac6c2ec6519b7ca20582ea9ce6adc683
parent823f8054532ac87af6d6e486b3167d9367f239f0
alloc: Make deriving more friendly with Arc

This adds impls of Eq/Ord/PartialEq/PartialOrd/Show/Default to Arc<T>, and it
also removes the `Send + Sync` bound on the `Clone` impl of Arc to make it more
deriving-friendly. The `Send + Sync` requirement is still enforce on
construction, of course!
src/liballoc/arc.rs
src/libserialize/serialize.rs