summaryrefslogtreecommitdiffstats
path: root/src/client/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/mod.rs')
-rw-r--r--src/client/mod.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index fb27561..2a7806b 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -12,7 +12,9 @@
//!
pub(crate) mod client_builder;
+pub mod commands;
mod responder;
+pub mod types;
use crate::error::Result;
use crate::raw_ptr::TdPtr;
@@ -166,7 +168,7 @@ impl ClientLike for Client {
.tag()
.and_then(|tagged| serde_json::to_value(tagged).map_err(|err| err.into()))
.and_then(|serialized| {
- self.sender.send(JoinStreams::NewRequest((
+ self.sender.send(JoinStreams::NewRequest((
serialized,
fut.response.clone()
))).map_err(|err| err.into())
@@ -175,6 +177,6 @@ impl ClientLike for Client {
match maybe_sent {
Ok(_) => fut,
Err(err) => ResponseFuture::from_error(err)
- }
+ }
}
}