(&mut self, planet: Planet)
| 45 | } |
| 46 | |
| 47 | fn get_arrays_mut(&mut self, planet: Planet) -> &mut VecDeque<TeamArray> { |
| 48 | if let Some(array) = self.history.get_mut(&planet) { |
| 49 | array |
| 50 | } else { |
| 51 | unreachable!(); |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | /// Filters the team array history such that the new history does not store |
| 56 | /// any intermediate arrays, and only the arrays that can be accessed on |