I'm getting the following error:
the trait `std::slice::SliceIndex<[Pokemon]>` is not implemented for `&usize`
I'm trying to index my vector with a size parsed from user input.
I'm getting the following error:
the trait `std::slice::SliceIndex<[Pokemon]>` is not implemented for `&usize`
I'm trying to index my vector with a size parsed from user input.