unwrap_none 0.1.2

Implements the `unwrap_none` and `expect_none` methods removed by https://github.com/rust-lang/rust/pull/83349
Documentation
  • Coverage
  • 80%
    4 out of 5 items documented3 out of 4 items with examples
  • Size
  • Source code size: 6.6 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 113.58 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Demindiro/unwrap_none
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Demindiro

How to use

use unwrap_none::UnwrapNone;

fn main() {
	None.unwrap_none();
	None.expect_none("Value is not None");
}