summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
authorMathias Lafeldt <mathias.lafeldt@gmail.com>2022-09-26 21:52:16 +0200
committerGitHub <noreply@github.com>2022-09-26 21:52:16 +0200
commit4b01ef5c23973406c44e1178ad11afb779f5c5df (patch)
treeaf6585554a28ded70f090d146f9692ee47808fb4 /cli/worker.rs
parentc7dd842f84268985e8701c67a9ea2607c13c9ae1 (diff)
chore: use Rust 1.64.0 (#16035)
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index f46c2efce..cc497630e 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -141,9 +141,7 @@ impl CliMainWorker {
};
self.pending_unload = false;
- if let Err(err) = result {
- return Err(err);
- }
+ result?;
self
.inner