News for hackers. Stuff that matters.
Re:UTF-8 String Indexing Strategies by the_mitsuhiko on Thursday May 30, 2019 @07:10AM (#20050020)
It’s a bit of a footgun indeed but it’s quite handy in combination with the char index iterator.
Re:UTF-8 String Indexing Strategies by chrismorgan on Thursday May 30, 2019 @09:40AM (#20050999)
Sure, you do want to be able to index by code unit range, but it shouldn’t have been with the Index trait.