We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a369c43 commit 9206ffaCopy full SHA for 9206ffa
1 file changed
turbopack/crates/turbo-tasks-backend/src/backend/mod.rs
@@ -1673,8 +1673,8 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
1673
let has_mutable_children =
1674
has_children && new_children.values().any(|is_immutable| !*is_immutable);
1675
1676
- // If the task is not stateful and has no mutable children, it does not have a way to be invalidated
1677
- // and we can mark it as immutable.
+ // If the task is not stateful and has no mutable children, it does not have a way to be
+ // invalidated and we can mark it as immutable.
1678
if !stateful && !has_mutable_children {
1679
task.mark_as_immutable();
1680
}
0 commit comments