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 /core/examples | |
parent | e88c801e76c16d4c0a92702e248cf811038ed4ab (diff) |
Upgrades rust to 1.40.0 (#3542)
Diffstat (limited to 'core/examples')
-rw-r--r-- | core/examples/http_bench.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/examples/http_bench.rs b/core/examples/http_bench.rs index c08c5b6e1..a79e3fc20 100644 --- a/core/examples/http_bench.rs +++ b/core/examples/http_bench.rs @@ -117,7 +117,7 @@ fn http_op( let record = Record::from(control); let is_sync = record.promise_id == 0; let op = handler(record.clone(), zero_copy_buf); - let mut record_a = record.clone(); + let mut record_a = record; let fut = async move { match op.await { |