diff --git a/parsers/src/muc/user.rs b/parsers/src/muc/user.rs index 7bd51804..668b4c47 100644 --- a/parsers/src/muc/user.rs +++ b/parsers/src/muc/user.rs @@ -6,9 +6,9 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. use crate::ns; +use crate::presence::PresencePayload; use crate::util::error::Error; use crate::Element; -use crate::presence::PresencePayload; use jid::FullJid; use std::convert::TryFrom; @@ -676,8 +676,7 @@ mod tests { let elem: Element = "" .parse() .unwrap(); - let presence = Presence::new(PresenceType::None) - .with_payloads(vec![elem]); + let presence = Presence::new(PresenceType::None).with_payloads(vec![elem]); assert_eq!(presence.payloads.len(), 1); } }