Skip to content

Commit 444b665

Browse files
epagerami3l
authored andcommitted
refactor(toolchain): Use string interpolation
1 parent f86ec54 commit 444b665

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/cli/common.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,7 @@ pub(crate) async fn list_toolchains(
327327

328328
writeln!(
329329
cfg.process.stdout().lock(),
330-
"{}{}{}",
331-
&toolchain,
332-
status_str,
333-
toolchain_path
330+
"{toolchain}{status_str}{toolchain_path}",
334331
)?;
335332
Ok(())
336333
}

0 commit comments

Comments
 (0)