diff --git a/misc/tools.func b/misc/tools.func index 3837295f4..9c71c3f0c 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -4326,7 +4326,7 @@ function setup_rust() { local RUST_CRATES="${RUST_CRATES:-}" local CARGO_BIN="${HOME}/.cargo/bin" - # Get currently installed version (if any) + # Get currently installed version local CURRENT_VERSION="" if command -v rustc &>/dev/null; then CURRENT_VERSION=$(rustc --version 2>/dev/null | awk '{print $2}')