diff options
author | cel 🌸 <cel@blos.sm> | 2023-07-12 12:41:36 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-07-12 12:41:36 +0100 |
commit | ae00389cb74919a93de9d67c996bebed4f241cbb (patch) | |
tree | 6dbca9aae5bb6943c112ae6ac567c753cf131e2d /src/stanza/stream.rs | |
parent | f43911ccbae3856b35b0d3e8ec6ac6450e295da6 (diff) | |
download | luz-ae00389cb74919a93de9d67c996bebed4f241cbb.tar.gz luz-ae00389cb74919a93de9d67c996bebed4f241cbb.tar.bz2 luz-ae00389cb74919a93de9d67c996bebed4f241cbb.zip |
move Element to stanza and make write() a method
Diffstat (limited to 'src/stanza/stream.rs')
-rw-r--r-- | src/stanza/stream.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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"; |