diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2024-10-18 18:53:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-18 18:53:04 -0700 |
commit | 615e6b7cc2e89a2a5cc3ab614eecde5aa7de0596 (patch) | |
tree | 691f7e8f7e7ab98512aaf80a4aac8b0f8a3fc30b /ext/webgpu/sampler.rs | |
parent | 6c4ef11f04cc35b61417bf08d5e7592d44197c75 (diff) |
refactor(ext/webgpu): use concrete error type (#26198)
Diffstat (limited to 'ext/webgpu/sampler.rs')
-rw-r--r-- | ext/webgpu/sampler.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/webgpu/sampler.rs b/ext/webgpu/sampler.rs index 27c36802e..9fc1269ea 100644 --- a/ext/webgpu/sampler.rs +++ b/ext/webgpu/sampler.rs @@ -1,6 +1,5 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -use deno_core::error::AnyError; use deno_core::op2; use deno_core::OpState; use deno_core::Resource; @@ -47,7 +46,7 @@ pub struct CreateSamplerArgs { pub fn op_webgpu_create_sampler( state: &mut OpState, #[serde] args: CreateSamplerArgs, -) -> Result<WebGpuResult, AnyError> { +) -> Result<WebGpuResult, deno_core::error::AnyError> { let instance = state.borrow::<super::Instance>(); let device_resource = state .resource_table |