fn main() -> u32 { // Create a value to be mutated let mut value = [4, 3, 2]; // Pass a mutable borrow of the value mutate(&mut value); // Retrieve the now-mutated value return value[1]; } fn mutate(value: &mut [u32; 3]) { // Dereference the borrow to mutate it *value[1] = 17; }