We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1086a2b commit 99106e4Copy full SHA for 99106e4
src/test/run-pass/box-unbox.rs
@@ -1,6 +1,6 @@
1
type box[T] = tup(@T);
2
3
-fn unbox[T](box[T] b) -> T { ret *b._0; }
+fn unbox[T](&box[T] b) -> T { ret *b._0; }
4
5
fn main() {
6
let int foo = 17;
0 commit comments