Hacker News new | ask | show | jobs
by aw1621107 208 days ago
> Why did they name the crash() function "unwrap()" ?

Because unwrap() is not guaranteed to cause a crash? panic!() is there if you actually want to guarantee a panic.