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

@ -11,9 +11,9 @@ use minidom::Element;
use jid::Jid;
use error::Error;
use crate::error::Error;
use ns;
use crate::ns;
/// Should be implemented on every known payload of a `<message/>`.
pub trait MessagePayload: TryFrom<Element> + Into<Element> {}
@ -232,7 +232,7 @@ impl From<Message> for Element {
mod tests {
use super::*;
use std::str::FromStr;
use compare_elements::NamespaceAwareCompare;
use crate::compare_elements::NamespaceAwareCompare;
#[cfg(target_pointer_width = "32")]
#[test]