Crates.io | unwrap_none |
lib.rs | unwrap_none |
version | 0.1.2 |
source | src |
created_at | 2021-04-13 12:27:55.661695 |
updated_at | 2022-12-02 16:59:52.032469 |
description | Implements the `unwrap_none` and `expect_none` methods removed by https://github.com/rust-lang/rust/pull/83349 |
homepage | |
repository | https://github.com/Demindiro/unwrap_none |
max_upload_size | |
id | 382850 |
size | 6,608 |
use unwrap_none::UnwrapNone;
fn main() {
None.unwrap_none();
None.expect_none("Value is not None");
}