diff options
| author | Daniel Mueller <deso@posteo.net> | 2019-07-14 15:44:16 -0700 |
|---|---|---|
| committer | Daniel Mueller <deso@posteo.net> | 2019-07-14 15:44:16 -0700 |
| commit | ba80a9087cc2ca91e81fdb9427213421567419ea (patch) | |
| tree | 680c1200ff21f3b8bbfb6939e9a098c1d07bfa52 /rand/rand_xoshiro | |
| parent | 4094d8d0592c507f322681b070b0fa0fefccd673 (diff) | |
| download | nitrocli-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 'rand/rand_xoshiro')
0 files changed, 0 insertions, 0 deletions
