mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-02-02 06:51:26 +01:00
Use real crate names rather than internal aliases. It's less confusing for people reading examples.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user