From a94c66cabc6939d3a872884fc12cdb2030db4847 Mon Sep 17 00:00:00 2001 From: lumi Date: Sun, 19 Feb 2017 22:20:27 +0100 Subject: [PATCH] fix tests on rust 1.14 --- src/jid.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jid.rs b/src/jid.rs index c43069d..cf35960 100644 --- a/src/jid.rs +++ b/src/jid.rs @@ -150,6 +150,8 @@ impl Jid { mod tests { use super::*; + use std::str::FromStr; + #[test] fn can_parse_jids() { assert_eq!(Jid::from_str("a@b.c/d"), Ok(Jid::full("a", "b.c", "d")));