Skip to content

Commit

Permalink
Fix comment to mention that Transient tasks are used for root tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
bgw committed Aug 15, 2024
1 parent ca54835 commit 5b26882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turbopack/crates/turbo-tasks/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ pub enum TaskPersistence {
/// Tasks that will be persisted in memory for the life of this session, but won't persist
/// between sessions.
///
/// This is used for tasks with an argument of type
/// [`TransientValue`][crate::value::TransientValue] or
/// This is used for [root tasks][TurboTasks::spawn_root_task] and tasks with an argument of
/// type [`TransientValue`][crate::value::TransientValue] or
/// [`TransientInstance`][crate::value::TransientInstance].
Transient,

Expand Down

0 comments on commit 5b26882

Please sign in to comment.