2 ms·
Yeah, it's very evocative. It also properly conveys that it's for extreme states, not usual error handling. The motivation was actually to tease apart the two
by steveklabnik 12y ago
Yeah, it's very evocative. It also properly conveys that it's for extreme states, not usual error handling.
The motivation was actually to tease apart the two meanings of 'fail': fail! or Result? Now, fail means Result, and panic means panic! (previously fail!).
Most of the patch was actually updating _all_ of the mentions of fail in the documentation, to switch some of them to panic.