Skip to content

Commit

Permalink
Fix doc example to accommodate overloaded-box.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Mar 3, 2015
1 parent 0d5bcb1 commit cb1b0dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/trpl/pointers.md
Expand Up @@ -709,7 +709,7 @@ fn main() {
one_hundred: 100,
});

let y = box foo(x);
let y: Box<BigStruct> = box foo(x);
}
```

Expand Down

0 comments on commit cb1b0dd

Please sign in to comment.