summaryrefslogtreecommitdiff
path: root/ext/broadcast_channel/lib.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2022-03-14 23:38:53 +0100
committerGitHub <noreply@github.com>2022-03-14 23:38:53 +0100
commit88d0f01948b68f4a4d87e02a5138e94ac0a6eaea (patch)
tree2b50e5d2c6990c94f47e604281f3557b3efd9736 /ext/broadcast_channel/lib.rs
parent9f494dc405afc4b1b29fa4c813bd5751f26aaa36 (diff)
feat(ops): custom arity (#13949)
Also cleanup & drop ignored wildcard op-args
Diffstat (limited to 'ext/broadcast_channel/lib.rs')
-rw-r--r--ext/broadcast_channel/lib.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/broadcast_channel/lib.rs b/ext/broadcast_channel/lib.rs
index eff57c7df..e228871b9 100644
--- a/ext/broadcast_channel/lib.rs
+++ b/ext/broadcast_channel/lib.rs
@@ -45,8 +45,6 @@ struct Unstable(bool); // --unstable
#[op]
pub fn op_broadcast_subscribe<BC>(
state: &mut OpState,
- _: (),
- _: (),
) -> Result<ResourceId, AnyError>
where
BC: BroadcastChannel + 'static,
@@ -97,7 +95,6 @@ where
pub async fn op_broadcast_recv<BC>(
state: Rc<RefCell<OpState>>,
rid: ResourceId,
- _: (),
) -> Result<Option<Message>, AnyError>
where
BC: BroadcastChannel + 'static,