1
Fork 0

test: Update all tests with the sync changes

This commit is contained in:
Alex Crichton 2014-03-22 00:55:50 -07:00
parent eff025797a
commit 5163a26d30
27 changed files with 80 additions and 324 deletions

View file

@ -17,7 +17,7 @@ use sync::Arc;
struct A { y: Arc<int>, x: Arc<int> }
impl Drop for A {
fn drop(&mut self) { println!("x={:?}", self.x.get()); }
fn drop(&mut self) { println!("x={}", *self.x); }
}
fn main() {
let a = A { y: Arc::new(1), x: Arc::new(2) };