We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 469edf8 commit b285d7fCopy full SHA for b285d7f
libs/sheet/src/lib.rs
@@ -215,8 +215,8 @@ impl StyleSheet {
215
}
216
self.global_css_files.remove(file);
217
self.css.remove(file);
218
- for (_, map) in self.properties.iter_mut() {
219
- for (_, props) in map.iter_mut() {
+ for map in self.properties.values_mut() {
+ for props in map.values_mut() {
220
props.retain(|prop| {
221
if let Some(StyleSelector::Global(_, f)) = prop.selector.as_ref() {
222
f != file
0 commit comments