summaryrefslogtreecommitdiff
path: root/src/workers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/workers.rs')
-rw-r--r--src/workers.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/workers.rs b/src/workers.rs
index d3b2ef008..0cc2225b6 100644
--- a/src/workers.rs
+++ b/src/workers.rs
@@ -83,9 +83,7 @@ pub fn spawn(
resource.close();
}).unwrap();
- let resource = c.wait().unwrap();
-
- resource
+ c.wait().unwrap()
}
#[cfg(test)]