debugless-unwrap
This library provides alternatives to the standard .unwrap* methods on Result and Option that don't require Debug to be implemented on the unexpected variant:
use assert_panic;
use *;
;
let some = Some;
let none = Option::None;
let ok = Result::Ok;
let err = Result::Err;
none.debugless_unwrap_none;
ok.debugless_unwrap;
err.debugless_unwrap_err;
assert_panic!;
assert_panic!;
assert_panic!;