diff options
author | Leo K <crowlkats@toaxl.com> | 2021-10-05 22:38:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 22:38:27 +0200 |
commit | 77a00ce1fb4ae2523e22b9b84ae09a0200502e38 (patch) | |
tree | 0027a2ff3dbff1e2b0c3afa7ce0f0e54805c7d62 /ext/broadcast_channel/lib.rs | |
parent | d67e85850688117e116bbf7054e80f30fe07afe6 (diff) |
chore: various op cleanup (#12329)
Diffstat (limited to 'ext/broadcast_channel/lib.rs')
-rw-r--r-- | ext/broadcast_channel/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/broadcast_channel/lib.rs b/ext/broadcast_channel/lib.rs index de6c56667..b499d6fbf 100644 --- a/ext/broadcast_channel/lib.rs +++ b/ext/broadcast_channel/lib.rs @@ -45,8 +45,8 @@ struct Unstable(bool); // --unstable pub fn op_broadcast_subscribe<BC: BroadcastChannel + 'static>( state: &mut OpState, - _args: (), - _buf: (), + _: (), + _: (), ) -> Result<ResourceId, AnyError> { let unstable = state.borrow::<Unstable>().0; @@ -85,7 +85,7 @@ pub async fn op_broadcast_send<BC: BroadcastChannel + 'static>( pub async fn op_broadcast_recv<BC: BroadcastChannel + 'static>( state: Rc<RefCell<OpState>>, rid: ResourceId, - _buf: (), + _: (), ) -> Result<Option<Message>, AnyError> { let resource = state.borrow().resource_table.get::<BC::Resource>(rid)?; let bc = state.borrow().borrow::<BC>().clone(); |