diff --git a/turbopack/crates/turbopack-browser/src/ecmascript/list/update.rs b/turbopack/crates/turbopack-browser/src/ecmascript/list/update.rs index 9c6347f958b31b..ee90d37802f55a 100644 --- a/turbopack/crates/turbopack-browser/src/ecmascript/list/update.rs +++ b/turbopack/crates/turbopack-browser/src/ecmascript/list/update.rs @@ -70,10 +70,9 @@ pub(super) async fn update_chunk_list( let to = to_version.await?; let from = from_version.await?; - // When to and from point to the same value we can skip comparing them. - // This will happen since `TraitRef>>::cell` will not clone - // the value, but only make the cell point to the same immutable value - // (Arc). + // When to and from point to the same value we can skip comparing them. This will happen since + // `TraitRef::>::cell` will not clone the value, but only make the cell point + // to the same immutable value (`Arc`). if from.ptr_eq(&to) { return Ok(Update::None.cell()); } diff --git a/turbopack/crates/turbopack-browser/src/ecmascript/merged/update.rs b/turbopack/crates/turbopack-browser/src/ecmascript/merged/update.rs index 2ef986603705d2..0f7fa3824e6099 100644 --- a/turbopack/crates/turbopack-browser/src/ecmascript/merged/update.rs +++ b/turbopack/crates/turbopack-browser/src/ecmascript/merged/update.rs @@ -158,10 +158,9 @@ pub(super) async fn update_ecmascript_merged_chunk( let to = to_merged_version.await?; let from = from_merged_version.await?; - // When to and from point to the same value we can skip comparing them. - // This will happen since `TraitRef>>::cell` will not clone - // the value, but only make the cell point to the same immutable value - // (Arc). + // When to and from point to the same value we can skip comparing them. This will happen since + // `TraitRef::>::cell` will not clone the value, but only make the cell point + // to the same immutable value (`Arc`). if from.ptr_eq(&to) { return Ok(Update::None); } diff --git a/turbopack/crates/turbopack-browser/src/ecmascript/update.rs b/turbopack/crates/turbopack-browser/src/ecmascript/update.rs index b7350ca706631c..1f37a41e428b60 100644 --- a/turbopack/crates/turbopack-browser/src/ecmascript/update.rs +++ b/turbopack/crates/turbopack-browser/src/ecmascript/update.rs @@ -22,10 +22,9 @@ pub(super) async fn update_ecmascript_chunk( ) -> Result { let to = content.own_version().await?; - // When to and from point to the same value we can skip comparing them. - // This will happen since `TraitRef>>::cell` will not clone - // the value, but only make the cell point to the same immutable value - // (Arc). + // When to and from point to the same value we can skip comparing them. This will happen since + // `TraitRef::>::cell` will not clone the value, but only make the cell point + // to the same immutable value (`Arc`). if from.ptr_eq(&to) { return Ok(EcmascriptChunkUpdate::None); }