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
|
|
@ -324,8 +324,10 @@ impl From<Presence> for Element {
|
|||
.append_all(if presence.priority == 0 {
|
||||
None
|
||||
} else {
|
||||
Some(Element::builder("priority", ns::DEFAULT_NS)
|
||||
.append(format!("{}", presence.priority)))
|
||||
Some(
|
||||
Element::builder("priority", ns::DEFAULT_NS)
|
||||
.append(format!("{}", presence.priority)),
|
||||
)
|
||||
})
|
||||
.append_all(presence.payloads.into_iter())
|
||||
.build()
|
||||
|
|
|
|||
Loading…
Reference in a new issue