Run cargo fix --edition to move to Edition 2018.

This commit is contained in:
Emmanuel Gil Peyrot 2018-12-18 15:27:30 +01:00
commit 6b2dd8fe5e
46 changed files with 189 additions and 188 deletions

View file

@ -13,9 +13,9 @@ use minidom::{Element, IntoElements, IntoAttributeValue, ElementEmitter};
use jid::Jid;
use error::Error;
use crate::error::Error;
use ns;
use crate::ns;
/// Should be implemented on every known payload of a `<presence/>`.
pub trait PresencePayload: TryFrom<Element> + Into<Element> {}
@ -331,7 +331,7 @@ impl From<Presence> for Element {
#[cfg(test)]
mod tests {
use super::*;
use compare_elements::NamespaceAwareCompare;
use crate::compare_elements::NamespaceAwareCompare;
#[cfg(target_pointer_width = "32")]
#[test]