From 9f1c06662950a3a1543c39842d9aeb62ddbe3386 Mon Sep 17 00:00:00 2001 From: fakeshadow <24548779@qq.com> Date: Sun, 27 Dec 2020 16:08:15 +0800 Subject: [PATCH] fix clippy --- actix-http-test/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/actix-http-test/src/lib.rs b/actix-http-test/src/lib.rs index 865d73ba0..1bd4a0867 100644 --- a/actix-http-test/src/lib.rs +++ b/actix-http-test/src/lib.rs @@ -71,10 +71,11 @@ pub async fn test_server_with_addr>( .unwrap() .workers(1) .disable_signals() - .start() + .start(); + + tx.send((System::current(), local_addr)).unwrap(); }); - tx.send((System::current(), local_addr)).unwrap(); sys.run() });