We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c2816e commit be12320Copy full SHA for be12320
crates/tree_shaker/src/consumable/lazy.rs
@@ -7,7 +7,7 @@ pub struct LazyConsumable<'a>(pub &'a RefCell<Option<ConsumableVec<'a>>>);
7
8
impl<'a> ConsumableTrait<'a> for LazyConsumable<'a> {
9
fn consume(&self, analyzer: &mut Analyzer<'a>) {
10
- self.0.consume(analyzer);
+ self.0.take().consume(analyzer);
11
}
12
13
0 commit comments