mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix more clippy (#32740)
This commit is contained in:
parent
4e1f623666
commit
f29dd64a7b
25 changed files with 72 additions and 90 deletions
|
@ -134,7 +134,7 @@ fn start_element<S: Serializer>(node: &Element, serializer: &mut S) -> io::Resul
|
|||
})
|
||||
.collect::<Vec<_>>();
|
||||
let attr_refs = attrs.iter().map(|(qname, value)| {
|
||||
let ar: AttrRef = (&qname, &**value);
|
||||
let ar: AttrRef = (qname, &**value);
|
||||
ar
|
||||
});
|
||||
serializer.start_elem(name, attr_refs)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue