From 88d0f01948b68f4a4d87e02a5138e94ac0a6eaea Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Mon, 14 Mar 2022 23:38:53 +0100 Subject: feat(ops): custom arity (#13949) Also cleanup & drop ignored wildcard op-args --- ext/http/lib.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ext/http') 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>, rid: ResourceId, - _: (), ) -> Result, AnyError> { let conn = state.borrow().resource_table.get::(rid)?; @@ -738,7 +737,6 @@ async fn op_http_write( async fn op_http_shutdown( state: Rc>, 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 { 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>, rid: ResourceId, - _: (), ) -> Result { let stream = state .borrow_mut() -- cgit v1.2.3