Skip to content

Commit b285d7f

Browse files
committed
Fix optimize value
1 parent 469edf8 commit b285d7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/sheet/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ impl StyleSheet {
215215
}
216216
self.global_css_files.remove(file);
217217
self.css.remove(file);
218-
for (_, map) in self.properties.iter_mut() {
219-
for (_, props) in map.iter_mut() {
218+
for map in self.properties.values_mut() {
219+
for props in map.values_mut() {
220220
props.retain(|prop| {
221221
if let Some(StyleSelector::Global(_, f)) = prop.selector.as_ref() {
222222
f != file

0 commit comments

Comments
 (0)