summaryrefslogtreecommitdiffstats
path: root/src/client/encrypted.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-07-12 12:41:36 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-07-12 12:41:36 +0100
commitae00389cb74919a93de9d67c996bebed4f241cbb (patch)
tree6dbca9aae5bb6943c112ae6ac567c753cf131e2d /src/client/encrypted.rs
parentf43911ccbae3856b35b0d3e8ec6ac6450e295da6 (diff)
downloadluz-ae00389cb74919a93de9d67c996bebed4f241cbb.tar.gz
luz-ae00389cb74919a93de9d67c996bebed4f241cbb.tar.bz2
luz-ae00389cb74919a93de9d67c996bebed4f241cbb.zip
move Element to stanza and make write() a method
Diffstat (limited to 'src/client/encrypted.rs')
-rw-r--r--src/client/encrypted.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/encrypted.rs b/src/client/encrypted.rs
index 76f600c..898dc23 100644
--- a/src/client/encrypted.rs
+++ b/src/client/encrypted.rs
@@ -6,8 +6,8 @@ use tokio::io::{BufReader, ReadHalf, WriteHalf};
use tokio::net::TcpStream;
use tokio_native_tls::TlsStream;
-use crate::element::Element;
use crate::stanza::stream::{Stream, StreamFeature};
+use crate::stanza::Element;
use crate::Jabber;
use crate::Result;