mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
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
|
# TODO
|
||||||
|
|
||||||
- [ ] minidom ns
|
- [ ] allow tls verify customization
|
||||||
- [ ] replace debug output with log crate
|
|
||||||
- [ ] customize tls verify?
|
|
||||||
- [ ] more tests
|
- [ ] more tests
|
||||||
|
|
|
@ -34,10 +34,6 @@ pub struct XMPPStream<S: AsyncRead + AsyncWrite + Unpin> {
|
||||||
pub id: String,
|
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> {
|
impl<S: AsyncRead + AsyncWrite + Unpin> XMPPStream<S> {
|
||||||
/// Constructor
|
/// Constructor
|
||||||
pub fn new(
|
pub fn new(
|
||||||
|
@ -63,7 +59,6 @@ impl<S: AsyncRead + AsyncWrite + Unpin> XMPPStream<S> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Unwraps the inner stream
|
/// Unwraps the inner stream
|
||||||
// TODO: use this everywhere
|
|
||||||
pub fn into_inner(self) -> S {
|
pub fn into_inner(self) -> S {
|
||||||
self.stream.into_inner().unwrap().into_inner()
|
self.stream.into_inner().unwrap().into_inner()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue