Skip to content

Commit

Permalink
Make ContainmentTree fully generic (#4620)
Browse files Browse the repository at this point in the history
### Description

This turns the ContainmentTree struct into a fully generic data
structure. The previous PR in this stack already made the chunks values
generic, but this goes one step further by making the key type generic
as well.

### Testing Instructions

Unit test
  • Loading branch information
alexkirsz authored Apr 18, 2023
1 parent bf27a1b commit 1e51d4e
Show file tree
Hide file tree
Showing 4 changed files with 287 additions and 191 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/turbopack-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ turbo-tasks-build = { workspace = true }

[dev-dependencies]
rstest = { workspace = true }
tokio = { workspace = true }

[features]
default = []
Expand Down
Loading

0 comments on commit 1e51d4e

Please sign in to comment.