An open API service indexing awesome lists of open source software.

https://github.com/demindiro/unwrap_none

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

Last synced: over 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

## How to use

```rust
use unwrap_none::UnwrapNone;

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