summaryrefslogtreecommitdiff
path: root/core/examples
diff options
context:
space:
mode:
authorandy finch <andyfinch7@gmail.com>2019-06-17 21:02:08 -0400
committerRyan Dahl <ry@tinyclouds.org>2019-06-17 18:02:08 -0700
commit76d51b0f9a4bd0ff86150d0dfa78df7c8410b7ea (patch)
treeee707fcac13634d999e39168702c4c51d429ebff /core/examples
parent9ad5b0653e3821915d7ab7438d5ed4fe373c569a (diff)
refactor dispatch take 2 (#2533)
Diffstat (limited to 'core/examples')
-rw-r--r--core/examples/http_bench.rs2
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 {