Closed wjlroe closed 6 years ago
We were slicing into the string using char enumeration as an index, rather that using the safe char_indices() method to get byte indices into the string. This change required separating out the index into chars from the index into the hl vector.
We were slicing into the string using char enumeration as an index, rather that using the safe char_indices() method to get byte indices into the string. This change required separating out the index into chars from the index into the hl vector.