Hacker News new | past | comments | ask | show | jobs | submit login

It’s a bit of a footgun indeed but it’s quite handy in combination with the char index iterator.



Sure, you do want to be able to index by code unit range, but it shouldn’t have been with the Index trait.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: