diff options
author | Axetroy <axetroy.dev@gmail.com> | 2019-12-23 22:59:44 +0800 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-12-23 09:59:44 -0500 |
commit | 3bb15ceaeaf5cd349afcb2e2d43374efd420aaef (patch) | |
tree | b169369521f66bbca1c71a96f0059bef6d61fe00 /cli/state.rs | |
parent | e88c801e76c16d4c0a92702e248cf811038ed4ab (diff) |
Upgrades rust to 1.40.0 (#3542)
Diffstat (limited to 'cli/state.rs')
-rw-r--r-- | cli/state.rs | 2 |
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()) |