mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
rollup merge of #23690: wettowelreactor/patch-1
This commit is contained in:
@@ -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));
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user