diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-08-14 10:27:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-14 10:27:27 +0200 |
commit | 1d1507384bca78027c9003b81465bd99a585cace (patch) | |
tree | 1645e61596cc97bd3f07e9bfe4dbb6fbf264d076 /cli/file_fetcher.rs | |
parent | b8cfc9547023a30df991047e7a32e3e661faecfa (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.rs | 2 |
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, ); |