Fix bug in box-unbox.rs test.
This commit is contained in:
parent
1086a2b7d1
commit
99106e4029
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user