diff --git a/tests/test_server.rs b/tests/test_server.rs index 3dbc924bb..71f0e0f9e 100644 --- a/tests/test_server.rs +++ b/tests/test_server.rs @@ -39,7 +39,7 @@ fn test_serve_incoming() { || Application::new() .resource("/", |r| r.method(Method::GET).h(httpcodes::HTTPOk))); let tcp = TcpListener::from_listener(tcp, &addr2, Arbiter::handle()).unwrap(); - srv.start_incoming::<_, ()>(tcp.incoming(), false).unwrap(); + srv.start_incoming(tcp.incoming(), false).unwrap(); sys.run(); });