From c0a7116eef13ea75340fe7d75da97dfbd04fac20 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Sat, 24 Jun 2023 15:09:37 +0100 Subject: remove bytes deserializer --- src/client/unencrypted.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/client/unencrypted.rs') 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) -- cgit