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

> What should that do? Crash the program? If so it should have been renamed to something like `panic!` now

It crashes the current task (thread/process), not the whole program, and has in fact been renamed panic! recently: https://github.com/rust-lang/rust/pull/17894



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

Search: