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

The try! macro should be used much more often than .unwrap(). And there is a feature that has been implemented to make a ? operator that is roughly equivalent to the try macro. It's currently hidden behind a feature gate named question_mark and it's unclear if or when it will be part of the language.


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

Search: