(&mut self, index: usize)
| 157 | } |
| 158 | |
| 159 | pub fn remove(&mut self, index: usize) -> T { |
| 160 | self.pop_at(index) |
| 161 | .unwrap_or_else(|| panic_oob!("remove", index, self.len())) |
| 162 | } |
| 163 | |
| 164 | pub fn pop_at(&mut self, index: usize) -> Option<T> { |
| 165 | if index >= self.len() { |
no test coverage detected