summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-07-31 17:11:37 -0400
committerGitHub <noreply@github.com>2019-07-31 17:11:37 -0400
commit3971dcfe10b94e901a224b5328a9dafd1e2ecc08 (patch)
treee347644a90094774e56e9315119c31594ca60796 /cli/worker.rs
parentb3541c38f5672ffb4a29d66dca19d88b9ecae478 (diff)
Use system rustfmt instead of fixed binary (#2701)
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index e32e1e06e..befc69f85 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -126,7 +126,8 @@ mod tests {
argv,
op_selector_std,
Progress::new(),
- ).unwrap();
+ )
+ .unwrap();
let state_ = state.clone();
tokio_util::run(lazy(move || {
let mut worker =
@@ -154,7 +155,8 @@ mod tests {
argv,
op_selector_std,
Progress::new(),
- ).unwrap();
+ )
+ .unwrap();
let state_ = state.clone();
tokio_util::run(lazy(move || {
let mut worker =
@@ -283,7 +285,8 @@ mod tests {
println!("workers.rs after resource close");
r.unwrap();
Ok(())
- }).shared();
+ })
+ .shared();
let worker_future_ = worker_future.clone();
tokio::spawn(lazy(move || worker_future_.then(|_| Ok(()))));