aboutsummaryrefslogtreecommitdiff
path: root/libc/ci/docker/mips-unknown-linux-gnu
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
commit1af85ad50523427384234313fe00aa8bfa89135f (patch)
tree129af98f7e3e352a6d230b3a0e0c8aa429429c37 /libc/ci/docker/mips-unknown-linux-gnu
parent4d779638826bee5e4ee5c7ea2ed2fc8d0d7275be (diff)
downloadnitrocli-1af85ad50523427384234313fe00aa8bfa89135f.tar.gz
nitrocli-1af85ad50523427384234313fe00aa8bfa89135f.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/mips-unknown-linux-gnu')
0 files changed, 0 insertions, 0 deletions