diff options
| author | Graydon Hoare <[email protected]> | 2011-01-27 13:49:27 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-01-27 13:52:02 -0800 |
| commit | 99106e4029860b3937bf82db5fb3e3dcd651243c (patch) | |
| tree | 3dd4b05fd89a261d510322fd4f1ae28d20002a32 /src/test | |
| parent | Un-XFAIL 3 tests that started working recently. (diff) | |
| download | rust-99106e4029860b3937bf82db5fb3e3dcd651243c.tar.xz rust-99106e4029860b3937bf82db5fb3e3dcd651243c.zip | |
Fix bug in box-unbox.rs test.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/box-unbox.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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; |