Remix.run Logo
xwolfi an hour ago

Why did they name the crash() function "unwrap()" ? Feels weird to me ...

aw1621107 10 minutes ago | parent [-]

> 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.