From 88d0f01948b68f4a4d87e02a5138e94ac0a6eaea Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Mon, 14 Mar 2022 23:38:53 +0100 Subject: feat(ops): custom arity (#13949) Also cleanup & drop ignored wildcard op-args --- ext/webgpu/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'ext/webgpu/src/lib.rs') diff --git a/ext/webgpu/src/lib.rs b/ext/webgpu/src/lib.rs index d1eba20ba..329bec755 100644 --- a/ext/webgpu/src/lib.rs +++ b/ext/webgpu/src/lib.rs @@ -245,7 +245,6 @@ pub struct GpuAdapterDevice { pub async fn op_webgpu_request_adapter( state: Rc>, args: RequestAdapterArgs, - _: (), ) -> Result { let mut state = state.borrow_mut(); check_unstable(&state, "navigator.gpu.requestAdapter"); @@ -444,7 +443,6 @@ impl From for wgpu_types::Features { pub async fn op_webgpu_request_device( state: Rc>, args: RequestDeviceArgs, - _: (), ) -> Result { let mut state = state.borrow_mut(); let adapter_resource = state @@ -545,7 +543,6 @@ impl From for wgpu_types::QueryType { pub fn op_webgpu_create_query_set( state: &mut OpState, args: CreateQuerySetArgs, - _: (), ) -> Result { let device_resource = state.resource_table.get::(args.device_rid)?; -- cgit v1.2.3