From fc9211835e3af4bb732fa4eb382d8cc69710c209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sun, 10 Apr 2022 01:21:25 +0200 Subject: [PATCH] http load test: use new escape_ascii from Rust 1.60 --- aquatic_http_load_test/src/network.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aquatic_http_load_test/src/network.rs b/aquatic_http_load_test/src/network.rs index 0c8d02f..75f5131 100644 --- a/aquatic_http_load_test/src/network.rs +++ b/aquatic_http_load_test/src/network.rs @@ -237,7 +237,7 @@ impl Connection { "deserialize response error with {} bytes read: {:?}, text: {}", buffer_position, err, - String::from_utf8_lossy(interesting_bytes) + interesting_bytes.escape_ascii() ); } }