When to use references (&T
)
References are Rust's superpower -- but if they are used too much, they can also be a super pain in the neck.
&T
)References are Rust's superpower -- but if they are used too much, they can also be a super pain in the neck.