Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Nov 15, 2024
1 parent 94c1ea2 commit 8bd62c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions turbopack/crates/turbo-tasks/src/effect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ impl EffectInstance {
let future = self.inner.lock().take();
future.map(|EffectInner { future, span }| {
tokio::spawn(
turbo_tasks_future_scope(turbo_tasks::turbo_tasks(), async move { future.await })
.instrument(span),
turbo_tasks_future_scope(turbo_tasks::turbo_tasks(), future).instrument(span),
)
})
}
Expand Down

0 comments on commit 8bd62c3

Please sign in to comment.