From ae00389cb74919a93de9d67c996bebed4f241cbb Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Wed, 12 Jul 2023 12:41:36 +0100 Subject: move Element to stanza and make write() a method --- src/stanza/stream.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/stanza/stream.rs') diff --git a/src/stanza/stream.rs b/src/stanza/stream.rs index f0fb6a1..59d0b90 100644 --- a/src/stanza/stream.rs +++ b/src/stanza/stream.rs @@ -5,7 +5,8 @@ use quick_xml::{ name::QName, }; -use crate::{element::Element, JabberError, Result, JID}; +use super::Element; +use crate::{JabberError, Result, JID}; const XMLNS_STREAM: &str = "http://etherx.jabber.org/streams"; const VERSION: &str = "1.0"; -- cgit