aboutsummaryrefslogtreecommitdiff
path: root/argparse
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-02-08 18:11:52 -0800
committerDaniel Mueller <deso@posteo.net>2019-02-08 18:11:52 -0800
commitd8477e9f1f8d687f7e8cecd3abf634304a6b351f (patch)
tree6a04a97b7728bbd64fea467b655081571b75a1ce /argparse
parent49fa7c5924e22bad4077d376f158e0468d0b6cf4 (diff)
downloadnitrocli-d8477e9f1f8d687f7e8cecd3abf634304a6b351f.tar.gz
nitrocli-d8477e9f1f8d687f7e8cecd3abf634304a6b351f.tar.bz2
Simplify error handling in the parse function
This patch changes the error handling in the args' module parse function to use the Result's map_err instead of a more verbose if let expression.
Diffstat (limited to 'argparse')
0 files changed, 0 insertions, 0 deletions