(self)
| 51 | /// Panics in debug builds if the range is empty. |
| 52 | #[inline] |
| 53 | pub fn last(self) -> T { |
| 54 | debug_assert!(!self.is_empty()); |
| 55 | T::new(self.to.index() - 1) |
| 56 | } |
| 57 | |
| 58 | /// Returns whether the range is empty. |
| 59 | #[inline] |
no test coverage detected