summaryrefslogtreecommitdiff
path: root/ext/websocket/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/websocket/lib.rs')
-rw-r--r--ext/websocket/lib.rs3
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()