Skip to content

Commit

Permalink
avoid compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerdietmar committed May 3, 2022
1 parent 2f7d041 commit 9a04692
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/yew/src/dom_bundle/btag/attributes.rs
@@ -1,5 +1,4 @@
use std::collections::HashMap;
use std::iter;
use std::ops::Deref;

use indexmap::IndexMap;
Expand Down Expand Up @@ -102,7 +101,7 @@ impl Attributes {
}
}

for (key, value) in old.iter() {
for (key, _value) in old.iter() {
if !new.contains_key(key) {
Self::remove_attribute(el, key);
}
Expand Down

0 comments on commit 9a04692

Please sign in to comment.