Fix doc example to accommodate overloaded-box.

This commit is contained in:
Felix S. Klock II 2015-02-26 18:27:11 +01:00
parent 0d5bcb14ad
commit cb1b0dd589

View File

@ -709,7 +709,7 @@ fn main() {
one_hundred: 100,
});
let y = box foo(x);
let y: Box<BigStruct> = box foo(x);
}
```