Fix bug in box-unbox.rs test.

This commit is contained in:
Graydon Hoare 2011-01-27 13:49:27 -08:00
parent 1086a2b7d1
commit 99106e4029

View File

@ -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;