Skip to content

Commit 0e7571b

Browse files
committed
libcore Fix the tuple first_ref test
1 parent e05b5dd commit 0e7571b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/tuple.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ impl<A: Ord, B: Ord, C: Ord> (A, B, C) : Ord {
165165

166166
#[test]
167167
fn test_tuple_ref() {
168-
let (~"foo", ~"bar");
168+
let x = (~"foo", ~"bar");
169169
assert x.first_ref() == &~"foo";
170170
assert x.second_ref() == &~"bar";
171171
}

0 commit comments

Comments
 (0)