Radish alpha
r
rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M
Radicle Job Collaborative Object
Radicle
Git
fix: inline variable in format string
Merged liw opened 10 months ago

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

1 file changed +1 -1 68cac715 574129a2
modified 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)
    }