aboutsummaryrefslogtreecommitdiff
path: root/libc/src/redox/net.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-06 16:58:32 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-06 16:58:32 -0800
commit25258409c09d408c1ccd332ffcdb6ed0e183f54d (patch)
tree788ad33842368ab14d92cb8b047c683b1c8dd4ac /libc/src/redox/net.rs
parent9dffcc7b3d119ec444a1e5b4c4e219be9c77a8be (diff)
downloadnitrocli-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 'libc/src/redox/net.rs')
0 files changed, 0 insertions, 0 deletions