mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-09 21:13:32 +01:00
Fix readme
This commit is contained in:
@@ -69,7 +69,7 @@ impl SyncService for HelloServer {
|
||||
|
||||
fn main() {
|
||||
let addr = "localhost:10000";
|
||||
let _server = HelloServer.listen(addr).unwrap();
|
||||
let _server = HelloServer.listen(addr);
|
||||
let client = SyncClient::connect(addr).unwrap();
|
||||
println!("{}", client.hello(&"Mom".to_string()).unwrap());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user