From b6828b967422510eea63a65f77d2bc1d69199d5a Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 16 Mar 2020 00:10:42 +0100 Subject: [PATCH] tokio-xmpp: remove obsolete TODOs --- tokio-xmpp/README.md | 4 +--- tokio-xmpp/src/xmpp_stream.rs | 5 ----- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/tokio-xmpp/README.md b/tokio-xmpp/README.md index eccc836f..07102426 100644 --- a/tokio-xmpp/README.md +++ b/tokio-xmpp/README.md @@ -1,6 +1,4 @@ # TODO -- [ ] minidom ns -- [ ] replace debug output with log crate -- [ ] customize tls verify? +- [ ] allow tls verify customization - [ ] more tests diff --git a/tokio-xmpp/src/xmpp_stream.rs b/tokio-xmpp/src/xmpp_stream.rs index 209b7e00..5f00de11 100644 --- a/tokio-xmpp/src/xmpp_stream.rs +++ b/tokio-xmpp/src/xmpp_stream.rs @@ -34,10 +34,6 @@ pub struct XMPPStream { pub id: String, } -// // TODO: fix this hack -// unsafe impl core::marker::Send for XMPPStream {} -// unsafe impl Sync for XMPPStream {} - impl XMPPStream { /// Constructor pub fn new( @@ -63,7 +59,6 @@ impl XMPPStream { } /// Unwraps the inner stream - // TODO: use this everywhere pub fn into_inner(self) -> S { self.stream.into_inner().unwrap().into_inner() }