Skip to content

Commit db2b9f7

Browse files
committed
Remove incorrect comment
1 parent f4ce7c2 commit db2b9f7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/next-api/src/operation.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ pub struct EntrypointsOperation {
3232
}
3333

3434
/// HACK: Wraps an `OperationVc<Entrypoints>` inside of a second `OperationVc`.
35-
///
36-
/// When `CollectiblesSource::take_collectibles` happens, it in-place *mutates* the `OperationVc`,
37-
/// which isn't what we want in `entrypoints_without_diagnostics_operation`. Instead we want a *new*
38-
/// `OperationVc` without diagnostics. This creates that new `OperationVc` to be mutated.
3935
#[turbo_tasks::function(operation)]
4036
fn entrypoints_wrapper(entrypoints: OperationVc<Entrypoints>) -> Vc<Entrypoints> {
4137
entrypoints.connect()

0 commit comments

Comments
 (0)