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)
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ pub mod event;
|
|||
pub mod owner;
|
||||
|
||||
/// The `http://jabber.org/protocol/pubsub` protocol.
|
||||
#[allow(clippy::module_inception)]
|
||||
pub mod pubsub;
|
||||
|
||||
pub use self::event::PubSubEvent;
|
||||
|
|
|
|||
Loading…
Reference in a new issue