(s: &Wtf8, begin: usize, end: usize)
| 1343 | #[inline(never)] |
| 1344 | #[track_caller] |
| 1345 | pub fn slice_error_fail(s: &Wtf8, begin: usize, end: usize) -> ! { |
| 1346 | assert!(begin <= end); |
| 1347 | panic!("index {begin} and/or {end} in `{s:?}` do not lie on character boundary"); |
| 1348 | } |
| 1349 | |
| 1350 | /// Iterator for the code points of a WTF-8 string. |
| 1351 | /// |