(r: &Wtf8, byte_idx: usize)
| 1175 | // FIXME: two traversals of str is expensive |
| 1176 | #[inline] |
| 1177 | fn _to_char_idx(r: &Wtf8, byte_idx: usize) -> usize { |
| 1178 | r[..byte_idx].code_points().count() |
| 1179 | } |
| 1180 | |
| 1181 | #[inline] |
| 1182 | fn _find<F>(&self, args: FindArgs, find: F) -> Option<usize> |
nothing calls this directly
no test coverage detected