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/web/blob.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/web/blob.rs') diff --git a/ext/web/blob.rs b/ext/web/blob.rs index ad7f6c582..43121ee3a 100644 --- a/ext/web/blob.rs +++ b/ext/web/blob.rs @@ -163,7 +163,6 @@ impl BlobPart for SlicedBlobPart { pub fn op_blob_create_part( state: &mut deno_core::OpState, data: ZeroCopyBuf, - _: (), ) -> Result { let blob_store = state.borrow::(); let part = InMemoryBlobPart(data.to_vec()); @@ -208,7 +207,6 @@ pub fn op_blob_slice_part( pub async fn op_blob_read_part( state: Rc>, id: Uuid, - _: (), ) -> Result { let part = { let state = state.borrow(); @@ -224,7 +222,6 @@ pub async fn op_blob_read_part( pub fn op_blob_remove_part( state: &mut deno_core::OpState, id: Uuid, - _: (), ) -> Result<(), AnyError> { let blob_store = state.borrow::(); blob_store.remove_part(&id); @@ -261,7 +258,6 @@ pub fn op_blob_create_object_url( pub fn op_blob_revoke_object_url( state: &mut deno_core::OpState, url: String, - _: (), ) -> Result<(), AnyError> { let url = Url::parse(&url)?; let blob_store = state.borrow::(); @@ -285,7 +281,6 @@ pub struct ReturnBlobPart { pub fn op_blob_from_object_url( state: &mut deno_core::OpState, url: String, - _: (), ) -> Result, AnyError> { let url = Url::parse(&url)?; if url.scheme() != "blob" { -- cgit v1.2.3