minidom: Fix all clippy warnings

This commit is contained in:
Emmanuel Gil Peyrot 2024-07-03 11:18:54 +02:00
commit 1adccee40b
2 changed files with 5 additions and 5 deletions

View file

@ -413,7 +413,7 @@ impl Element {
},
None => RxmlNamespace::NONE,
};
writer.write(Item::Attribute(&namespace, name, (&**value).into()))?;
writer.write(Item::Attribute(&namespace, name, value))?;
}
if !self.children.is_empty() {