diff --git a/crates/compiler/src/selector/extend/mod.rs b/crates/compiler/src/selector/extend/mod.rs index 673e1ad..b167188 100644 --- a/crates/compiler/src/selector/extend/mod.rs +++ b/crates/compiler/src/selector/extend/mod.rs @@ -1119,7 +1119,8 @@ impl ExtensionStore { // was replaced due to :not() expansion, we must get rid of the old // version. if !contains_extension { - sources.remove(&extension.extender); + // todo: evaluate whether we could get away with swap_remove + sources.shift_remove(&extension.extender); } } additional_extensions