diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-05-08 14:37:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-08 14:37:42 +0200 |
commit | d5f39fd121b8f997dcfb360828f60cee47322ab3 (patch) | |
tree | 4eb4880060a861ac6ddfe27e5f62b8bc756b52b5 /runtime/ops/http.rs | |
parent | 4ed1428c3401c9e6dc4d737bd7c9a50840054696 (diff) |
cleanup(ops): remove unused ZeroCopyBuf arg-types (#10530)
Diffstat (limited to 'runtime/ops/http.rs')
-rw-r--r-- | runtime/ops/http.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ops/http.rs b/runtime/ops/http.rs index 1ab8cb998..3642a0ac3 100644 --- a/runtime/ops/http.rs +++ b/runtime/ops/http.rs @@ -145,7 +145,7 @@ struct NextRequestResponse( async fn op_http_request_next( state: Rc<RefCell<OpState>>, conn_rid: ResourceId, - _data: Option<ZeroCopyBuf>, + _: (), ) -> Result<Option<NextRequestResponse>, AnyError> { let conn_resource = state .borrow() @@ -278,7 +278,7 @@ fn should_ignore_error(e: &AnyError) -> bool { fn op_http_start( state: &mut OpState, tcp_stream_rid: ResourceId, - _data: Option<ZeroCopyBuf>, + _: (), ) -> Result<ResourceId, AnyError> { let deno_service = Service::default(); @@ -407,7 +407,7 @@ async fn op_http_response( async fn op_http_response_close( state: Rc<RefCell<OpState>>, rid: ResourceId, - _data: Option<ZeroCopyBuf>, + _: (), ) -> Result<(), AnyError> { let resource = state .borrow_mut() |