Run cargo fmt on some more files.

This commit is contained in:
Emmanuel Gil Peyrot 2018-12-18 16:07:46 +01:00
commit 376ccc1c06
4 changed files with 11 additions and 22 deletions

View file

@ -5,18 +5,14 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
use crate::error::Error;
use crate::ns;
use jid::Jid;
use minidom::{Element, ElementEmitter, IntoAttributeValue, IntoElements};
use std::collections::BTreeMap;
use std::str::FromStr;
use try_from::TryFrom;
use minidom::{Element, ElementEmitter, IntoAttributeValue, IntoElements};
use jid::Jid;
use crate::error::Error;
use crate::ns;
/// Should be implemented on every known payload of a `<presence/>`.
pub trait PresencePayload: TryFrom<Element> + Into<Element> {}