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
|
|
@ -177,8 +177,8 @@ impl From<DiscoInfoResult> for Element {
|
|||
fn from(disco: DiscoInfoResult) -> Element {
|
||||
Element::builder("query", ns::DISCO_INFO)
|
||||
.attr("node", disco.node)
|
||||
.append_all(disco.identities.into_iter())
|
||||
.append_all(disco.features.into_iter())
|
||||
.append_all(disco.identities)
|
||||
.append_all(disco.features)
|
||||
.append_all(disco.extensions.iter().cloned().map(Element::from))
|
||||
.build()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue