From c0a7116eef13ea75340fe7d75da97dfbd04fac20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?cel=20=F0=9F=8C=B8?= Date: Sat, 24 Jun 2023 15:09:37 +0100 Subject: [PATCH] remove bytes deserializer --- src/client/unencrypted.rs | 1 - 1 file changed, 1 deletion(-) 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)