aboutsummaryrefslogtreecommitdiff
path: root/libc/ci/docker/arm-unknown-linux-gnueabihf
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2020-09-29 20:31:50 -0700
committerDaniel Mueller <deso@posteo.net>2020-09-29 20:31:50 -0700
commit1229dd36306ac43480fcf2bfb91aa47d41ea5e77 (patch)
tree7539a02e3c292358b541d762955e79c81ff23716 /libc/ci/docker/arm-unknown-linux-gnueabihf
parente5149d8a783fc8e397e91415c2e56901f7368349 (diff)
downloadnitrocli-1229dd36306ac43480fcf2bfb91aa47d41ea5e77.tar.gz
nitrocli-1229dd36306ac43480fcf2bfb91aa47d41ea5e77.tar.bz2
Shorten some error handling paths
When we originally switched over to using anyhow for error handling, we evidently missed to take advantage of its context support in a couple of error paths. The result was that we ended up with rather long winded > result.ok_or_else(|| anyhow::anyhow!(...)) constructs. This change shortens them, making use of the anyhow::Context trait.
Diffstat (limited to 'libc/ci/docker/arm-unknown-linux-gnueabihf')
0 files changed, 0 insertions, 0 deletions