unwrap_or_panic 0.2.0

Unwrap a `Result<T, E>` without formating the Error `E` and no trait bound `E: Debug`
Documentation

Unwrap a Result<T, E> without the trait bound E: Debug for the Error.

Unlike unwrap, this does not format the error with fmt::Debug.

Usage

use unwrap_or_panic::UnwrapOrPanic;

Err::<i32, i32>(-1).unwrap_or_panic();    // panic with msg `Panic at <FILE>:<LINE>:<COLUME>`