fn test(vec: &mut Vec<Vec<char>>){ vec[0][0] = 'd'; ..// vec[23][79] = 'd'; } fn main() { let mut vec = vec![vec!['#'; 80]; 24]; test(&mut vec); }