3 ms·
It’s a bit of a footgun indeed but it’s quite handy in combination with the char index iterator.
by the_mitsuhiko 7y ago
It’s a bit of a footgun indeed but it’s quite handy in combination with the char index iterator.
- chrismorgan 7y agoSure, you do want to be able to index by code unit range, but it shouldn’t have been with the Index trait.