Skip to content

Commit 99106e4

Browse files
committed
Fix bug in box-unbox.rs test.
1 parent 1086a2b commit 99106e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/box-unbox.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
type box[T] = tup(@T);
22

3-
fn unbox[T](box[T] b) -> T { ret *b._0; }
3+
fn unbox[T](&box[T] b) -> T { ret *b._0; }
44

55
fn main() {
66
let int foo = 17;

0 commit comments

Comments
 (0)