Skip to content

Commit 4a664b7

Browse files
committed
Fix lint
1 parent 7909352 commit 4a664b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/rustup_mode.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,9 +1197,9 @@ fn show_active_toolchain(cfg: &Cfg, m: &ArgMatches<'_>) -> Result<utils::ExitCod
11971197
Err(e) => return Err(e.into()),
11981198
Ok((toolchain, reason)) => {
11991199
if let Some(reason) = reason {
1200-
writeln!(process().stdout(), "{} ({})", toolchain.name(), reason,)?;
1200+
writeln!(process().stdout(), "{} ({})", toolchain.name(), reason)?;
12011201
} else {
1202-
writeln!(process().stdout(), "{} (default)", toolchain.name(),)?;
1202+
writeln!(process().stdout(), "{} (default)", toolchain.name())?;
12031203
}
12041204
if verbose {
12051205
writeln!(process().stdout(), "{}", toolchain.rustc_version())?;

0 commit comments

Comments
 (0)