parsers: rustfmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
fa8b9ed199
commit
fd158d9a08
12 changed files with 114 additions and 101 deletions
|
|
@ -167,10 +167,10 @@ fn serialise_jid_list(name: &str, jids: Vec<Jid>) -> ::std::option::IntoIter<Nod
|
|||
} else {
|
||||
Some(
|
||||
Element::builder(name, ns::MAM)
|
||||
.append_all(jids.into_iter().map(|jid| {
|
||||
Element::builder("jid", ns::MAM)
|
||||
.append(String::from(jid))
|
||||
}))
|
||||
.append_all(
|
||||
jids.into_iter()
|
||||
.map(|jid| Element::builder("jid", ns::MAM).append(String::from(jid))),
|
||||
)
|
||||
.into(),
|
||||
)
|
||||
.into_iter()
|
||||
|
|
|
|||
Loading…
Reference in a new issue