mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-06 19:45:25 +01:00
Fix compilation error for benches (#101)
This commit is contained in:
@@ -42,7 +42,7 @@ fn latency(bencher: &mut Bencher) {
|
||||
server::Options::default())
|
||||
.wait()
|
||||
.unwrap();
|
||||
let client = SyncClient::connect(addr, client::Options::default()).unwrap();
|
||||
let mut client = SyncClient::connect(addr, client::Options::default()).unwrap();
|
||||
|
||||
bencher.iter(|| {
|
||||
client.ack().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user