diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-06 16:58:32 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-06 16:58:32 -0800 |
commit | 25258409c09d408c1ccd332ffcdb6ed0e183f54d (patch) | |
tree | 788ad33842368ab14d92cb8b047c683b1c8dd4ac /base32/src | |
parent | 9dffcc7b3d119ec444a1e5b4c4e219be9c77a8be (diff) | |
download | nitrocli-25258409c09d408c1ccd332ffcdb6ed0e183f54d.tar.gz nitrocli-25258409c09d408c1ccd332ffcdb6ed0e183f54d.tar.bz2 |
Properly report io::Error objects
We have a Result::unwrap in the error path of handling io::Error
objects. I have actually seen that fail, masking the original error. We
should not unwrap there and in fact we don't have to, as io::Error
implements fmt::Display just fine.
This may have changed in the past, as the construct we had is much more
convoluted than necessary and would only have been written if a direct
formatting was not possible.
Diffstat (limited to 'base32/src')
0 files changed, 0 insertions, 0 deletions