From bccfc2eb33aeed202f8e4444e93e44ae9ba79355 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 13 Nov 2025 09:57:07 +0100 Subject: [PATCH] Refine comment on setting default Rust toolchain Removed redundant comment about fixing old installations. --- misc/tools.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tools.func b/misc/tools.func index 9c71c3f0c..d8993d76a 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -4360,7 +4360,7 @@ function setup_rust() { # Scenario 2: Rustup already installed - update/maintain msg_info "Update Rust ($RUST_TOOLCHAIN)" - # Ensure default toolchain is set (fixes issue with old installations) + # Ensure default toolchain is set $STD rustup default "$RUST_TOOLCHAIN" 2>/dev/null || { # If default fails, install the toolchain first $STD rustup install "$RUST_TOOLCHAIN" || {