mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-02-23 15:49:54 +01:00
format with rustfmt 0.8.3 (#148)
This commit is contained in:
@@ -40,7 +40,8 @@ impl FutureService for Server {
|
||||
fn latency(bencher: &mut Bencher) {
|
||||
let _ = env_logger::init();
|
||||
let mut reactor = reactor::Core::new().unwrap();
|
||||
let (handle, server) = Server.listen("localhost:0".first_socket_addr(),
|
||||
let (handle, server) = Server
|
||||
.listen("localhost:0".first_socket_addr(),
|
||||
&reactor.handle(),
|
||||
server::Options::default())
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user