aboutsummaryrefslogtreecommitdiff
path: root/libc/src/unix/haiku/mod.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-07-14 15:44:16 -0700
committerDaniel Mueller <deso@posteo.net>2019-07-14 15:44:16 -0700
commitba80a9087cc2ca91e81fdb9427213421567419ea (patch)
tree680c1200ff21f3b8bbfb6939e9a098c1d07bfa52 /libc/src/unix/haiku/mod.rs
parent4094d8d0592c507f322681b070b0fa0fefccd673 (diff)
downloadnitrocli-ba80a9087cc2ca91e81fdb9427213421567419ea.tar.gz
nitrocli-ba80a9087cc2ca91e81fdb9427213421567419ea.tar.bz2
Use map_err over or_else to convert errors
This patch replaces two cases where we use Result::or_else over the more idiomatic (and shorter) Result::map_err for converting errors.
Diffstat (limited to 'libc/src/unix/haiku/mod.rs')
0 files changed, 0 insertions, 0 deletions