Skip to content

Commit

Permalink
Update pointers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wettowelreactor committed Mar 25, 2015
1 parent 123a754 commit 053d58e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/trpl/pointers.md
Expand Up @@ -568,8 +568,8 @@ fn add(x: &i32, y: &i32) -> i32 {
fn main() {
let x = Box::new(5);
println!("{}", add(&x, &x));
println!("{}", add(&x, &x));
println!("{}", add(&*x, &*x));
println!("{}", add(&*x, &*x));
}
```

Expand Down

0 comments on commit 053d58e

Please sign in to comment.