References and Pointers
Current forms:
*Towning pointer&Tshared borrow&mut Tmutable borrow^T/^const Traw pointers
fn set_to_one(x: &mut i32) { *x = 1}Raw pointer use should stay inside unsafe blocks and explicit std/mem APIs.
Current forms:
*T owning pointer&T shared borrow&mut T mutable borrow^T / ^const T raw pointersfn set_to_one(x: &mut i32) { *x = 1}Raw pointer use should stay inside unsafe blocks and explicit std/mem APIs.