Skip to content

Commit

Permalink
rollup merge of rust-lang#23690: wettowelreactor/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Mar 27, 2015
2 parents 431296f + 053d58e commit adbb516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/trpl/pointers.md
Original file line number Diff line number Diff line change
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 adbb516

Please sign in to comment.