Skip to content

Commit 7962dfe

Browse files
committed
Remove mistakenly-committed code
1 parent 19445e4 commit 7962dfe

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/cli/rustup_mode.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,9 +1332,6 @@ fn toolchain_remove(cfg: &mut Cfg, m: &ArgMatches<'_>) -> Result<utils::ExitCode
13321332
}
13331333
} else {
13341334
for toolchain in m.values_of("toolchain").unwrap() {
1335-
if m.is_present("regex") {
1336-
} else {
1337-
}
13381335
let toolchain = cfg.get_toolchain(toolchain, false)?;
13391336
toolchain.remove()?;
13401337
}

0 commit comments

Comments
 (0)