diff --git a/turbopack/crates/turbo-tasks-fs/src/lib.rs b/turbopack/crates/turbo-tasks-fs/src/lib.rs index f0aad83952aa..d159221b5300 100644 --- a/turbopack/crates/turbo-tasks-fs/src/lib.rs +++ b/turbopack/crates/turbo-tasks-fs/src/lib.rs @@ -938,7 +938,7 @@ impl FileSystem for DiskFileSystem { #[derive(TraceRawVcs, NonLocalValue, Clone)] struct WriteEffect { - full_path: Arc, + full_path: Arc, inner: Arc, content: ReadRef, content_hash: u128, @@ -1088,7 +1088,7 @@ impl FileSystem for DiskFileSystem { let content_hash = u128::from_le_bytes(hash_xxh3_hash128(&*content)); emit_effect(WriteEffect { - full_path: Arc::new(full_path), + full_path: Arc::from(full_path), inner, content, content_hash, @@ -1115,7 +1115,7 @@ impl FileSystem for DiskFileSystem { #[derive(TraceRawVcs, NonLocalValue, Clone)] struct WriteLinkEffect { - full_path: Arc, + full_path: Arc, inner: Arc, content: ReadRef, content_hash: u128, @@ -1371,7 +1371,7 @@ impl FileSystem for DiskFileSystem { let content_hash = u128::from_le_bytes(hash_xxh3_hash128(&*content)); emit_effect(WriteLinkEffect { - full_path: Arc::new(full_path), + full_path: Arc::from(full_path), inner, content, content_hash,