You could use the Default
trait to initialize the array with default values:
let array: [Vec<u8>; 10] = Default::default();
See this playground for a working example.
You could use the Default
trait to initialize the array with default values:
let array: [Vec<u8>; 10] = Default::default();
See this playground for a working example.