debug_unwrap 1.0.0

Adds the method debug_unwrap for when you just want to make it work.
Documentation

debug_unwrap

Adds the method debug_unwrap for when you just want to make it work.

This library adds the DebugUnwrap extension trait that adds the method debug_unwrap to the Option and Result types. It does exactly the same thing as the normal unwrap methods, but won't exist when compiling without debug_assertions enabled (i.e. when not compiling in Debug mode).

There is also three other aliases that all have there respective library features of the same name to enable them:

  • out (enabled by default)
  • o
  • peel