diff --git a/src/jingle_ft.rs b/src/jingle_ft.rs index 6e3e2803..82941b36 100644 --- a/src/jingle_ft.rs +++ b/src/jingle_ft.rs @@ -124,7 +124,6 @@ pub fn parse_jingle_ft(root: &Element) -> Result { #[cfg(test)] mod tests { use minidom::Element; - use error::Error; use jingle_ft; #[test] diff --git a/src/lib.rs b/src/lib.rs index bb9dae7a..7be94346 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,7 +10,6 @@ extern crate minidom; extern crate jid; extern crate base64; -use minidom::Element; /// Error type returned by every parser on failure. pub mod error; diff --git a/src/message.rs b/src/message.rs index 985b3eb6..609aa77a 100644 --- a/src/message.rs +++ b/src/message.rs @@ -168,7 +168,6 @@ pub fn serialise(message: &Message) -> Element { mod tests { use std::str::FromStr; use minidom::Element; - use error::Error; use jid::Jid; use message;