From 61377dd4ffba977d729cb8276145d143df27f420 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 14 Aug 2019 08:32:49 -0700 Subject: [PATCH] Fix comment in example service It referred to bincode instead of json. --- example-service/src/server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example-service/src/server.rs b/example-service/src/server.rs index bea280c..316df57 100644 --- a/example-service/src/server.rs +++ b/example-service/src/server.rs @@ -63,8 +63,8 @@ async fn main() -> io::Result<()> { let server_addr = ([0, 0, 0, 0], port).into(); - // bincode_transport is provided by the associated crate bincode-transport. It makes it easy - // to start up a serde-powered bincode serialization strategy over TCP. + // tarpc_json_transport is provided by the associated crate tarpc-json-transport. It makes it easy + // to start up a serde-powered json serialization strategy over TCP. tarpc_json_transport::listen(&server_addr)? // Ignore accept errors. .filter_map(|r| future::ready(r.ok()))