#unwrap #oi #foo

oi-unwrap

unwrap without unwrap

2 releases

0.1.1 Apr 19, 2024
0.1.0 Apr 19, 2024

#1385 in Rust patterns

MIT license

2KB

oi-unwrap

unwrap without unwrap

example

use oi_unwrap::oi;
fn main() {
    let foo = Some(Some(Some(Some("hello"))));
    oi!(foo);
    oi!(foo);
    oi!(foo);
    oi!(foo);
    let _o = foo;
}

No runtime deps