Skip to content
Snippets Groups Projects
Commit 020e9334 authored by Yaroslav Dynnikov's avatar Yaroslav Dynnikov
Browse files

chore: reduce boilerplate

1. Change `.map_err(box_err)` into `cvt_err()`. It makes lines shorter.
2. Change few unwraps into `.expect()`.
3. Change `.unwrap_or_default()` into `.unwrap_or(v)`. It's shorter and
   saves some cognitive resources.
parent 3ad8b570
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment