Skip to content

Demindiro/unwrap_none

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

use unwrap_none::UnwrapNone;

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

About

Implements the `unwrap_none` and `expect_none` methods removed by https://github.com/rust-lang/rust/pull/83349

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages