Skip to content

Commit be12320

Browse files
committed
fix
1 parent 4c2816e commit be12320

File tree

1 file changed

+1
-1
lines changed
  • crates/tree_shaker/src/consumable

1 file changed

+1
-1
lines changed

crates/tree_shaker/src/consumable/lazy.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub struct LazyConsumable<'a>(pub &'a RefCell<Option<ConsumableVec<'a>>>);
77

88
impl<'a> ConsumableTrait<'a> for LazyConsumable<'a> {
99
fn consume(&self, analyzer: &mut Analyzer<'a>) {
10-
self.0.consume(analyzer);
10+
self.0.take().consume(analyzer);
1111
}
1212
}
1313

0 commit comments

Comments
 (0)