Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
bin/patch: Inline format string variables where possible
Matthias Beyer committed 4 months ago
commit 16d3e7b4d297011c544ac4b0a28745ff3989b6da
parent 6adf95d
1 file changed +1 -1
modified bin/commands/patch.rs
@@ -288,7 +288,7 @@ pub async fn run(options: Options, ctx: impl terminal::Context) -> anyhow::Resul
                    let mut args = vec![operation.to_string()];

                    if let Some(id) = selection.ids.first() {
-
                        args.push(format!("{id}"));
+
                        args.push(id.to_string());

                        match operation.as_str() {
                            "review" => {