From 3ebe6d6fc2d21a0c30dee24ea60a5a1a996916ad Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sun, 17 Jan 2021 04:54:27 +0000 Subject: [PATCH] clippy --- awc/tests/test_client.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awc/tests/test_client.rs b/awc/tests/test_client.rs index c379850e5..88987e639 100644 --- a/awc/tests/test_client.rs +++ b/awc/tests/test_client.rs @@ -563,7 +563,7 @@ async fn test_client_brotli_encoding_large_random() { #[actix_rt::test] async fn test_client_deflate_encoding() { let srv = test::start(|| { - App::new().default_service(web::to(|body: Bytes| async move { + App::new().default_service(web::to(|body: Bytes| { HttpResponse::Ok() .encoding(http::ContentEncoding::Br) .body(body) @@ -588,7 +588,7 @@ async fn test_client_deflate_encoding_large_random() { .collect::(); let srv = test::start(|| { - App::new().default_service(web::to(|body: Bytes| async move { + App::new().default_service(web::to(|body: Bytes| { HttpResponse::Ok() .encoding(http::ContentEncoding::Br) .body(body) @@ -607,7 +607,7 @@ async fn test_client_deflate_encoding_large_random() { #[actix_rt::test] async fn test_client_streaming_explicit() { let srv = test::start(|| { - App::new().default_service(web::to(|body: web::Payload| async move { + App::new().default_service(web::to(|body: web::Payload| { HttpResponse::Ok() .encoding(http::ContentEncoding::Identity) .streaming(body)