Use real crate names rather than internal aliases. It's less confusing for people reading examples.

This commit is contained in:
Tim Kuehn
2019-08-09 01:16:06 -07:00
parent d560ac6197
commit f974533bf7
8 changed files with 18 additions and 18 deletions

View File

@@ -42,7 +42,7 @@ async fn main() -> io::Result<()> {
let name = flags.value_of("name").unwrap().into();
let transport = json_transport::connect(&server_addr).await?;
let transport = tarpc_json_transport::connect(&server_addr).await?;
// WorldClient is generated by the service attribute. It has a constructor `new` that takes a
// config and any Transport as input.