Skip to content

Commit 1015b50

Browse files
committedMar 19, 2025
refactor(cli/rustup-mode): use Cfg::active_toolchain() for notes
1 parent 7e8def9 commit 1015b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/cli/rustup_mode.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ async fn default_(
763763
}
764764
};
765765

766-
if let Some((toolchain, reason)) = cfg.maybe_ensure_active_toolchain(None).await? {
766+
if let Some((toolchain, reason)) = cfg.active_toolchain()? {
767767
if !matches!(reason, ActiveReason::Default) {
768768
info!("note that the toolchain '{toolchain}' is currently in use ({reason})");
769769
}

0 commit comments

Comments
 (0)
Failed to load comments.