(&self, index: usize)
| 64 | |
| 65 | #[inline(always)] |
| 66 | pub(crate) fn get(&self, index: usize) -> &T { |
| 67 | self.data.get(index).unwrap_or_else(|| { |
| 68 | cold_path(); |
| 69 | unreachable!("Stack index out of bounds, this is a bug"); |
| 70 | }) |
| 71 | } |
| 72 | |
| 73 | #[inline(always)] |
| 74 | pub(crate) fn set(&mut self, index: usize, value: T) { |
no outgoing calls
no test coverage detected