From 3bb15ceaeaf5cd349afcb2e2d43374efd420aaef Mon Sep 17 00:00:00 2001 From: Axetroy Date: Mon, 23 Dec 2019 22:59:44 +0800 Subject: Upgrades rust to 1.40.0 (#3542) --- core/examples/http_bench.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/examples') 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 { -- cgit v1.2.3