2 releases
0.1.1 | Apr 19, 2024 |
---|---|
0.1.0 | Apr 19, 2024 |
#1368 in Rust patterns
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;
}