From 0a30365ef316d867cda83e456a4f6a3f8566e5f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maja=20K=C4=85dzio=C5=82ka?= Date: Mon, 24 Nov 2025 12:00:23 +0100 Subject: [PATCH] rustc forward compatibility fix Make sure the project continues compile after rustc PR 138961 gets merged. --- http-load-generator/src/request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-load-generator/src/request.rs b/http-load-generator/src/request.rs index 5fbdadd..667fa42 100644 --- a/http-load-generator/src/request.rs +++ b/http-load-generator/src/request.rs @@ -342,7 +342,7 @@ impl Requestor { }) .boxed() .buffer_unordered(self.config.max_in_flight as usize) - .for_each(|response| async { + .for_each(async |response| { match response { (Err(response_type), rtt, endpoint) => { self.update_counters(&Err(response_type), &rtt, &endpoint)