diff options
Diffstat (limited to 'core/examples/http_bench.rs')
-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 e8c5ec1b7..ee8de5086 100644 --- a/core/examples/http_bench.rs +++ b/core/examples/http_bench.rs @@ -111,7 +111,7 @@ fn test_record_from() { pub type HttpBenchOp = dyn Future<Item = i32, Error = std::io::Error> + Send; -fn dispatch(control: &[u8], zero_copy_buf: Option<PinnedBuf>) -> Op { +fn dispatch(control: &[u8], zero_copy_buf: Option<PinnedBuf>) -> CoreOp { let record = Record::from(control); let is_sync = record.promise_id == 0; let http_bench_op = match record.op_id { |