diff options
Diffstat (limited to 'ext/http/lib.rs')
-rw-r--r-- | ext/http/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/http/lib.rs b/ext/http/lib.rs index a89c7a4a1..f57132555 100644 --- a/ext/http/lib.rs +++ b/ext/http/lib.rs @@ -369,7 +369,6 @@ struct NextRequestResponse( async fn op_http_accept( state: Rc<RefCell<OpState>>, rid: ResourceId, - _: (), ) -> Result<Option<NextRequestResponse>, AnyError> { let conn = state.borrow().resource_table.get::<HttpConnResource>(rid)?; @@ -738,7 +737,6 @@ async fn op_http_write( async fn op_http_shutdown( state: Rc<RefCell<OpState>>, rid: ResourceId, - _: (), ) -> Result<(), AnyError> { let stream = state .borrow() @@ -802,7 +800,6 @@ async fn op_http_read( fn op_http_websocket_accept_header( _: &mut OpState, key: String, - _: (), ) -> Result<String, AnyError> { let digest = ring::digest::digest( &ring::digest::SHA1_FOR_LEGACY_USE_ONLY, @@ -815,7 +812,6 @@ fn op_http_websocket_accept_header( async fn op_http_upgrade_websocket( state: Rc<RefCell<OpState>>, rid: ResourceId, - _: (), ) -> Result<ResourceId, AnyError> { let stream = state .borrow_mut() |