You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would have expected the indices to match the 'indices' into a string, but it seems to be matching the indices into the chars()/chars_indices() iterator.
Is this intended behavior (which should probably be documented?), or is it a case of missing a + ch.len_utf8() in order to properly increment the index into the string?
The text was updated successfully, but these errors were encountered:
Maybe there should be an extra option for that behavior? I could imagine that people find the current style of handling things usefull for other use cases.
I would have expected the indices to match the 'indices' into a string, but it seems to be matching the indices into the
chars()
/chars_indices()
iterator.Is this intended behavior (which should probably be documented?), or is it a case of missing a
+ ch.len_utf8()
in order to properly increment the index into the string?The text was updated successfully, but these errors were encountered: