summaryrefslogtreecommitdiff
path: root/cli/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/state.rs')
-rw-r--r--cli/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/state.rs b/cli/state.rs
index d31f667b5..2657ae747 100644
--- a/cli/state.rs
+++ b/cli/state.rs
@@ -104,7 +104,7 @@ impl ThreadSafeState {
Op::Async(fut) => {
let state = state.clone();
let result_fut = fut.map_ok(move |buf: Buf| {
- state.clone().metrics_op_completed(buf.len());
+ state.metrics_op_completed(buf.len());
buf
});
Op::Async(result_fut.boxed())