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

@ -5,8 +5,8 @@
// 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 presence::PresencePayload;
use date::DateTime;
use crate::presence::PresencePayload;
use crate::date::DateTime;
generate_element!(
/// Represents the query for messages before our join.
@ -104,9 +104,9 @@ mod tests {
use super::*;
use try_from::TryFrom;
use minidom::Element;
use error::Error;
use crate::error::Error;
use std::str::FromStr;
use compare_elements::NamespaceAwareCompare;
use crate::compare_elements::NamespaceAwareCompare;
#[test]
fn test_muc_simple() {

View file

@ -11,9 +11,9 @@ use minidom::Element;
use jid::Jid;
use error::Error;
use crate::error::Error;
use ns;
use crate::ns;
generate_attribute_enum!(
/// Lists all of the possible status codes used in MUC presences.
@ -238,7 +238,7 @@ generate_element!(
mod tests {
use super::*;
use std::error::Error as StdError;
use compare_elements::NamespaceAwareCompare;
use crate::compare_elements::NamespaceAwareCompare;
#[test]
fn test_simple() {