unwrap_none

Crates.iounwrap_none
lib.rsunwrap_none
version0.1.2
sourcesrc
created_at2021-04-13 12:27:55.661695
updated_at2022-12-02 16:59:52.032469
descriptionImplements the `unwrap_none` and `expect_none` methods removed by https://github.com/rust-lang/rust/pull/83349
homepage
repositoryhttps://github.com/Demindiro/unwrap_none
max_upload_size
id382850
size6,608
David Hoppenbrouwers (Demindiro)

documentation

https://docs.rs/unwrap_none

README

How to use

use unwrap_none::UnwrapNone;

fn main() {
	None.unwrap_none();
	None.expect_none("Value is not None");
}
Commit count: 11

cargo fmt