Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would argue it’s language-ub to convert an invalid slice into into a String, it’s bubbling up a requirement of str which relies on the contained utf-8 to be well-formed for memory safety.


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

Search: