summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-06-24 15:09:37 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-06-24 15:09:37 +0100
commitc0a7116eef13ea75340fe7d75da97dfbd04fac20 (patch)
tree449413f062328dc5c2c927ed1d532881c572b186
parent6a5e39c60ad74c1cba84daa7c845c8f0237a5d28 (diff)
downloadluz-c0a7116eef13ea75340fe7d75da97dfbd04fac20.tar.gz
luz-c0a7116eef13ea75340fe7d75da97dfbd04fac20.tar.bz2
luz-c0a7116eef13ea75340fe7d75da97dfbd04fac20.zip
remove bytes deserializer
-rw-r--r--src/client/unencrypted.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/unencrypted.rs b/src/client/unencrypted.rs
index 7528b14..74b800c 100644
--- a/src/client/unencrypted.rs
+++ b/src/client/unencrypted.rs
@@ -89,7 +89,6 @@ impl<'j> JabberClient<'j> {
let decoded = str::from_utf8(&txt).unwrap();
println!("decoded: {:?}", decoded);
let mut deserializer = Deserializer::from_str(decoded);
- // let mut deserializer = Deserializer::from_str(txt);
let features = StreamFeatures::deserialize(&mut deserializer).unwrap();
println!("{:?}", features);
Ok(features.features)