diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2022-03-14 23:38:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 23:38:53 +0100 |
commit | 88d0f01948b68f4a4d87e02a5138e94ac0a6eaea (patch) | |
tree | 2b50e5d2c6990c94f47e604281f3557b3efd9736 /ext/websocket/lib.rs | |
parent | 9f494dc405afc4b1b29fa4c813bd5751f26aaa36 (diff) |
feat(ops): custom arity (#13949)
Also cleanup & drop ignored wildcard op-args
Diffstat (limited to 'ext/websocket/lib.rs')
-rw-r--r-- | ext/websocket/lib.rs | 3 |
1 files changed, 0 insertions, 3 deletions
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<WP>( state: Rc<RefCell<OpState>>, args: CreateArgs, - _: (), ) -> Result<CreateResponse, AnyError> where WP: WebSocketPermissions + 'static, @@ -413,7 +412,6 @@ pub struct CloseArgs { pub async fn op_ws_close( state: Rc<RefCell<OpState>>, 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<RefCell<OpState>>, rid: ResourceId, - _: (), ) -> Result<NextEventResponse, AnyError> { let resource = state .borrow_mut() |