I'm trying to make a 2D array of Strings using the ndarray crate..
use ndarray::Array2;
char_array = Array2::<String>::zeros((width, height));
Clearly, it doesn't work, so what's the equivalent of zeroes for initialising a String type array?
I've managed to get a work-around using:
use ndarray::Array;
let mut char_array = Array::from_elem((width,height),NEW_STR);
but it feels like there should be a better (proper) way?