summaryrefslogtreecommitdiff
path: root/ext/broadcast_channel/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/broadcast_channel/lib.rs')
-rw-r--r--ext/broadcast_channel/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/broadcast_channel/lib.rs b/ext/broadcast_channel/lib.rs
index 57287ffbc..bac206ab1 100644
--- a/ext/broadcast_channel/lib.rs
+++ b/ext/broadcast_channel/lib.rs
@@ -68,7 +68,6 @@ where
pub fn op_broadcast_unsubscribe<BC>(
state: &mut OpState,
rid: ResourceId,
- _buf: (),
) -> Result<(), AnyError>
where
BC: BroadcastChannel + 'static,
@@ -81,7 +80,8 @@ where
#[op]
pub async fn op_broadcast_send<BC>(
state: Rc<RefCell<OpState>>,
- (rid, name): (ResourceId, String),
+ rid: ResourceId,
+ name: String,
buf: ZeroCopyBuf,
) -> Result<(), AnyError>
where