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/websocket/lib.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'ext/websocket/lib.rs') diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs index d712140b5..0b9470274 100644 --- a/ext/websocket/lib.rs +++ b/ext/websocket/lib.rs @@ -234,7 +234,6 @@ pub struct CreateResponse { pub async fn op_ws_create( state: Rc>, args: CreateArgs, - _: (), ) -> Result where WP: WebSocketPermissions + 'static, @@ -413,7 +412,6 @@ pub struct CloseArgs { pub async fn op_ws_close( state: Rc>, args: CloseArgs, - _: (), ) -> Result<(), AnyError> { let rid = args.rid; let msg = Message::Close(args.code.map(|c| CloseFrame { @@ -448,7 +446,6 @@ pub enum NextEventResponse { pub async fn op_ws_next_event( state: Rc>, rid: ResourceId, - _: (), ) -> Result { let resource = state .borrow_mut() -- cgit v1.2.3