Skip to content
Snippets Groups Projects

chore: reduce boilerplate

Merged Yaroslav Dynnikov requested to merge cvt-err into master
  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.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading