test: Update all tests with the sync changes
This commit is contained in:
parent
eff025797a
commit
5163a26d30
27 changed files with 80 additions and 324 deletions
|
@ -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) };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue