parsers: clippy pass
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
60ebcb8c8a
commit
b522eaf7f3
13 changed files with 33 additions and 31 deletions
|
|
@ -209,7 +209,7 @@ impl From<PubSubEvent> for Element {
|
|||
PubSubEvent::PublishedItems { node, items } => {
|
||||
Element::builder("items", ns::PUBSUB_EVENT)
|
||||
.attr("node", node)
|
||||
.append_all(items.into_iter())
|
||||
.append_all(items)
|
||||
}
|
||||
PubSubEvent::RetractedItems { node, items } => {
|
||||
Element::builder("items", ns::PUBSUB_EVENT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue