Creating two dimensional arrays in Rust. In Rust 1.0, the following works: let mut state = [[0u8; 4]; 6]; state[0][1] = 42;.
確定! 回上一頁