macros: Remove use requirement on minidom::IntoAttributeValue.

Emmanuel Gil Peyrot created

Change summary

src/data_forms.rs   | 2 +-
src/ibb.rs          | 2 +-
src/jingle.rs       | 2 +-
src/jingle_ft.rs    | 2 +-
src/jingle_ibb.rs   | 2 +-
src/jingle_s5b.rs   | 2 +-
src/macros.rs       | 6 +++---
src/mam.rs          | 2 +-
src/message.rs      | 2 +-
src/muc/user.rs     | 2 +-
src/pubsub/event.rs | 2 +-
src/roster.rs       | 2 +-
src/sasl.rs         | 2 +-
src/stanza_error.rs | 2 +-
14 files changed, 16 insertions(+), 16 deletions(-)

Detailed changes

src/data_forms.rs 🔗

@@ -6,7 +6,7 @@
 
 use try_from::TryFrom;
 
-use minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 
 use error::Error;
 use ns;

src/ibb.rs 🔗

@@ -4,7 +4,7 @@
 // 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 minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 
 use error::Error;
 

src/jingle.rs 🔗

@@ -7,7 +7,7 @@
 use try_from::TryFrom;
 use std::str::FromStr;
 
-use minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 use jid::Jid;
 
 use error::Error;

src/jingle_ft.rs 🔗

@@ -13,7 +13,7 @@ use hashes::Hash;
 use jingle::{Creator, ContentId};
 use date::DateTime;
 
-use minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 
 use error::Error;
 use ns;

src/jingle_ibb.rs 🔗

@@ -4,7 +4,7 @@
 // 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 minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 
 use error::Error;
 

src/jingle_s5b.rs 🔗

@@ -7,7 +7,7 @@
 use try_from::TryFrom;
 use std::net::IpAddr;
 
-use minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 use jid::Jid;
 
 use error::Error;

src/macros.rs 🔗

@@ -60,7 +60,7 @@ macro_rules! generate_attribute {
                 })
             }
         }
-        impl IntoAttributeValue for $elem {
+        impl ::minidom::IntoAttributeValue for $elem {
             fn into_attribute_value(self) -> Option<String> {
                 Some(String::from(match self {
                     $($elem::$a => $b),+
@@ -86,7 +86,7 @@ macro_rules! generate_attribute {
                 })
             }
         }
-        impl IntoAttributeValue for $elem {
+        impl ::minidom::IntoAttributeValue for $elem {
             #[allow(unreachable_patterns)]
             fn into_attribute_value(self) -> Option<String> {
                 Some(String::from(match self {
@@ -305,7 +305,7 @@ macro_rules! generate_id {
                 Ok($elem(String::from(s)))
             }
         }
-        impl IntoAttributeValue for $elem {
+        impl ::minidom::IntoAttributeValue for $elem {
             fn into_attribute_value(self) -> Option<String> {
                 Some(self.0)
             }

src/mam.rs 🔗

@@ -6,7 +6,7 @@
 
 use try_from::TryFrom;
 
-use minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 use jid::Jid;
 
 use error::Error;

src/message.rs 🔗

@@ -7,7 +7,7 @@
 use try_from::TryFrom;
 use std::collections::BTreeMap;
 
-use minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 
 use jid::Jid;
 

src/muc/user.rs 🔗

@@ -7,7 +7,7 @@
 
 use try_from::{TryFrom, TryInto};
 
-use minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 
 use jid::Jid;
 

src/pubsub/event.rs 🔗

@@ -6,7 +6,7 @@
 
 use try_from::TryFrom;
 
-use minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 use jid::Jid;
 use date::DateTime;
 

src/roster.rs 🔗

@@ -4,7 +4,7 @@
 // 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 minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 use jid::Jid;
 
 use error::Error;

src/sasl.rs 🔗

@@ -4,7 +4,7 @@
 // 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 minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 
 use error::Error;
 

src/stanza_error.rs 🔗

@@ -7,7 +7,7 @@
 use try_from::TryFrom;
 use std::collections::BTreeMap;
 
-use minidom::{Element, IntoAttributeValue};
+use minidom::Element;
 
 use error::Error;
 use jid::Jid;