Open nikomatsakis opened 7 years ago
We should not permit a &mut borrow of immutable data -- so for example *r where r: &T. We might want to then add let mut to local variables for completeness.
&mut
*r
r: &T
let mut
We should not permit a
&mut
borrow of immutable data -- so for example*r
wherer: &T
. We might want to then addlet mut
to local variables for completeness.