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 <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2025-06-30 09:37:08 +03:00
parent 68cac715ac
commit 574129a2d0
+1 -1
View File
@@ -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)
}