3 releases
0.1.2 | Jul 26, 2020 |
---|---|
0.1.1 | Jul 4, 2020 |
0.1.0 | Jul 1, 2020 |
#31 in #unwrap
6KB
54 lines
A set of macros for returns and breaks in the None
and Err
cases.
Replaces repetitive code similar to
match expression {
Some(ret) => ret,
None => return
}
with simpler macros such as
unwrap_return!(expression)