chore: reduce boilerplate
- Change
.map_err(box_err)
intocvt_err()
. It makes lines shorter. - Change few unwraps into
.expect()
. - Change
.unwrap_or_default()
into.unwrap_or(v)
. It's shorter and saves some cognitive resources.
.map_err(box_err)
into cvt_err()
. It makes lines shorter..expect()
..unwrap_or_default()
into .unwrap_or(v)
. It's shorter and
saves some cognitive resources.