From 0e7571b0607ee3920a2d29eee35fdf9e7e92442c Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Sun, 7 Oct 2012 20:30:17 -0700 Subject: [PATCH] libcore Fix the tuple first_ref test --- src/libcore/tuple.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/tuple.rs b/src/libcore/tuple.rs index 899b16eb132..ee9e0c84be6 100644 --- a/src/libcore/tuple.rs +++ b/src/libcore/tuple.rs @@ -165,7 +165,7 @@ impl (A, B, C) : Ord { #[test] fn test_tuple_ref() { - let (~"foo", ~"bar"); + let x = (~"foo", ~"bar"); assert x.first_ref() == &~"foo"; assert x.second_ref() == &~"bar"; }