tokio-xmpp: remove obsolete TODOs
This commit is contained in:
parent
4ae9ab41ab
commit
b6828b9674
2 changed files with 1 additions and 8 deletions
|
@ -1,6 +1,4 @@
|
|||
# TODO
|
||||
|
||||
- [ ] minidom ns
|
||||
- [ ] replace debug output with log crate
|
||||
- [ ] customize tls verify?
|
||||
- [ ] allow tls verify customization
|
||||
- [ ] more tests
|
||||
|
|
|
@ -34,10 +34,6 @@ pub struct XMPPStream<S: AsyncRead + AsyncWrite + Unpin> {
|
|||
pub id: String,
|
||||
}
|
||||
|
||||
// // TODO: fix this hack
|
||||
// unsafe impl<S: AsyncRead + AsyncWrite + Unpin> core::marker::Send for XMPPStream<S> {}
|
||||
// unsafe impl<S: AsyncRead + AsyncWrite + Unpin> Sync for XMPPStream<S> {}
|
||||
|
||||
impl<S: AsyncRead + AsyncWrite + Unpin> XMPPStream<S> {
|
||||
/// Constructor
|
||||
pub fn new(
|
||||
|
@ -63,7 +59,6 @@ impl<S: AsyncRead + AsyncWrite + Unpin> XMPPStream<S> {
|
|||
}
|
||||
|
||||
/// Unwraps the inner stream
|
||||
// TODO: use this everywhere
|
||||
pub fn into_inner(self) -> S {
|
||||
self.stream.into_inner().unwrap().into_inner()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue