ref
on the left side of =
is the same as &
on the right.
let ref x = 1;
let x = &1;
&
on the left side of =
is the same as *
on the right.
let &y = x;
let y = *x;
ref
on the left side of =
is the same as &
on the right.
let ref x = 1;
let x = &1;
&
on the left side of =
is the same as *
on the right.
let &y = x;
let y = *x;