From 99106e4029860b3937bf82db5fb3e3dcd651243c Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 27 Jan 2011 13:49:27 -0800 Subject: Fix bug in box-unbox.rs test. --- src/test/run-pass/box-unbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/test/run-pass/box-unbox.rs b/src/test/run-pass/box-unbox.rs index 9c00f55c..d0ad615b 100644 --- a/src/test/run-pass/box-unbox.rs +++ b/src/test/run-pass/box-unbox.rs @@ -1,6 +1,6 @@ type box[T] = tup(@T); -fn unbox[T](box[T] b) -> T { ret *b._0; } +fn unbox[T](&box[T] b) -> T { ret *b._0; } fn main() { let int foo = 17; -- cgit v1.2.3