From the Rust guide:
To dereference (get the value being referred to rather than the reference itself) y, we use the asterisk (*
y
*
fn main() { let x = &42; let address = format!("{:p}", x); // this produces something like '0x7f06092ac6d0' println!("{}", address); }