mirror of
https://seed.radicle.dev/rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M.git
synced 2026-11-29 14:50:37 +08:00
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:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user