summaryrefslogtreecommitdiff
path: root/cli/ops/files.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/ops/files.rs')
-rw-r--r--cli/ops/files.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/ops/files.rs b/cli/ops/files.rs
index 76a0191fd..f32de90b9 100644
--- a/cli/ops/files.rs
+++ b/cli/ops/files.rs
@@ -139,7 +139,7 @@ fn op_open(
let buf = futures::executor::block_on(fut)?;
Ok(JsonOp::Sync(buf))
} else {
- Ok(JsonOp::Async(fut.boxed()))
+ Ok(JsonOp::Async(fut.boxed_local()))
}
}
@@ -211,6 +211,6 @@ fn op_seek(
let buf = futures::executor::block_on(fut)?;
Ok(JsonOp::Sync(buf))
} else {
- Ok(JsonOp::Async(fut.boxed()))
+ Ok(JsonOp::Async(fut.boxed_local()))
}
}