diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/error.rs b/src/error.rs index 37be7fa..7f704e5 100644 --- a/src/error.rs +++ b/src/error.rs @@ -4,8 +4,8 @@ use quick_xml::events::attributes::AttrError; use rsasl::mechname::MechanismNameError; use crate::{ - element::{self, ElementError}, jid::ParseError, + stanza::{self, ElementError}, }; #[derive(Debug)] @@ -54,8 +54,8 @@ impl From<quick_xml::Error> for JabberError { } } -impl From<element::ElementError<'static>> for JabberError { - fn from(e: element::ElementError<'static>) -> Self { +impl From<stanza::ElementError<'static>> for JabberError { + fn from(e: stanza::ElementError<'static>) -> Self { Self::Element(e) } } |