From 574129a2d0008294818aa99ba99b3ad64ffdaeab Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 30 Jun 2025 09:37:08 +0300 Subject: [PATCH] fix: inline variable in format string This is now considered idiomatic Rust style. Found by clippy in Rust 1.88, but will work with Rust 1.84.1. Signed-off-by: Lars Wirzenius --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index c8606f9..508cd90 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -829,7 +829,7 @@ mod test { fn node_run() -> (Uuid, Url) { let uuid = Uuid::new_v4(); - let log = Url::parse(&format!("https://example.com/ci/logs?run={}", uuid)).unwrap(); + let log = Url::parse(&format!("https://example.com/ci/logs?run={uuid}")).unwrap(); (uuid, log) }