Skip to content

Commit

Permalink
next-api: ResolvedVc<T>, part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 29, 2024
1 parent 739329a commit 6467f21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions crates/next-api/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,10 @@ impl ProjectDefineEnv {

#[turbo_tasks::value(shared)]
struct ConflictIssue {
path: Vc<FileSystemPath>,
title: Vc<StyledString>,
description: Vc<StyledString>,
severity: Vc<IssueSeverity>,
path: ResolvedVc<FileSystemPath>,
title: ResolvedVc<StyledString>,
description: ResolvedVc<StyledString>,
severity: ResolvedVc<IssueSeverity>,
}

#[turbo_tasks::value_impl]
Expand Down
2 changes: 1 addition & 1 deletion crates/next-api/src/server_actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ struct ActionMap(FxIndexMap<String, String>);

/// An Option wrapper around [ActionMap].
#[turbo_tasks::value(transparent)]
struct OptionActionMap(Option<Vc<ActionMap>>);
struct OptionActionMap(Option<ResolvedVc<ActionMap>>);

#[turbo_tasks::value_impl]
impl OptionActionMap {
Expand Down

0 comments on commit 6467f21

Please sign in to comment.