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

Rust doesn't crash when it gets an error unless you tell it to. You make a choice how to handle the error because you have to it or it won't compile. If you don't care about losing information when reading a file, you can use the lossy function that gracefully handles invalid bytes.


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

Search: