Stage 9.5: The Dereference Operator *
The *
operator is an explicit way to dereference a reference.
Memory details:
- Because
i32
is a primitive type that implements theCopy
trait, the bytes of variable a on stack are copied into the bytes of variable b.