top | item 46029294 (no title) xwolfi | 3 months ago Why did they name the crash() function "unwrap()" ? Feels weird to me ... discuss order hn newest aw1621107|3 months 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.
aw1621107|3 months 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.
aw1621107|3 months ago
Because unwrap() is not guaranteed to cause a crash? panic!() is there if you actually want to guarantee a panic.