summaryrefslogtreecommitdiff
path: root/ext/broadcast_channel/lib.rs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-04-04 15:18:29 +0530
committerGitHub <noreply@github.com>2022-04-04 15:18:29 +0530
commit6bb555b549a203ebe921260379f3da70787be655 (patch)
treecad757426805c1fe626719a536a6b25a3c02812c /ext/broadcast_channel/lib.rs
parent797cf9cdd9fa864494cea4ba02edb7be185fe79a (diff)
chore(ext/broadcast_channel): custom arity (#14199)
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