diff --git a/tests/support/server.rs b/tests/support/server.rs index 4ac1a4a77..fc61fa84f 100644 --- a/tests/support/server.rs +++ b/tests/support/server.rs @@ -40,7 +40,7 @@ impl Drop for Server { pub fn http(func: F) -> Server where F: Fn(http::Request) -> Fut + Clone + Send + 'static, - Fut: Future> + Send + 'static, + Fut: Future> + Send + 'static, { //Spawn new runtime in thread to prevent reactor execution context conflict thread::spawn(move || {