summaryrefslogtreecommitdiff
path: root/cli/file_fetcher.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-08-14 10:27:27 +0200
committerGitHub <noreply@github.com>2021-08-14 10:27:27 +0200
commit1d1507384bca78027c9003b81465bd99a585cace (patch)
tree1645e61596cc97bd3f07e9bfe4dbb6fbf264d076 /cli/file_fetcher.rs
parentb8cfc9547023a30df991047e7a32e3e661faecfa (diff)
cleanup(ext/web/BlobStore): avoid redundant Arc<Box<T>> alloc (#11693)
Diffstat (limited to 'cli/file_fetcher.rs')
-rw-r--r--cli/file_fetcher.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs
index 41c645c3a..8fda66382 100644
--- a/cli/file_fetcher.rs
+++ b/cli/file_fetcher.rs
@@ -968,7 +968,7 @@ mod tests {
let specifier = blob_store.insert_object_url(
Blob {
media_type: "application/typescript".to_string(),
- parts: vec![Arc::new(Box::new(InMemoryBlobPart::from(bytes)))],
+ parts: vec![Arc::new(InMemoryBlobPart::from(bytes))],
},
None,
);