Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Aug 10, 2020
1 parent 54b8f7b commit 905f218
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/module_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ impl Module {
}
}

/// Take the cached representation of a module and _hydrate_ its structure.
pub fn hydrate(&mut self, cached_module: CachedModule) {
self.media_type = cached_module.media_type;
self.source = cached_module.source;
Expand Down

0 comments on commit 905f218

Please sign in to comment.