resolve deprecation warning from IndexMap

This commit is contained in:
Connor Skees 2024-02-07 05:24:29 +00:00
parent 9eccccc088
commit 11366ab701

View File

@ -1119,7 +1119,8 @@ impl ExtensionStore {
// was replaced due to :not() expansion, we must get rid of the old // was replaced due to :not() expansion, we must get rid of the old
// version. // version.
if !contains_extension { if !contains_extension {
sources.remove(&extension.extender); // todo: evaluate whether we could get away with swap_remove
sources.shift_remove(&extension.extender);
} }
} }
additional_extensions additional_extensions