From 11366ab701ca3fb2a8c5c707a2322b0131ad4d7d Mon Sep 17 00:00:00 2001 From: Connor Skees Date: Wed, 7 Feb 2024 05:24:29 +0000 Subject: [PATCH] resolve deprecation warning from IndexMap --- crates/compiler/src/selector/extend/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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