From 52ea83dddcc05c2e861b9de9316616df6a9228dc Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Mon, 22 Sep 2014 19:30:06 +0200 Subject: Update calls of deprecated functions in macros. Fallout of #17185. --- src/liballoc/arc.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/liballoc') diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 0d9e4f0a1c2..39524ed547d 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -311,13 +311,13 @@ mod tests { task::spawn(proc() { let arc_v: Arc> = rx.recv(); - assert_eq!(*arc_v.get(3), 4); + assert_eq!((*arc_v)[3], 4); }); tx.send(arc_v.clone()); - assert_eq!(*arc_v.get(2), 3); - assert_eq!(*arc_v.get(4), 5); + assert_eq!((*arc_v)[2], 3); + assert_eq!((*arc_v)[4], 5); info!("{:?}", arc_v); } -- cgit 1.4.1-3-g733a5