Skip to content

Commit 56ffeec

Browse files
committed
fix: fix typo in check_existence_of_rustc_or_cargo_in_path()
1 parent cd8356b commit 56ffeec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/cli/self_update.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ fn check_existence_of_rustc_or_cargo_in_path(no_prompt: bool, process: &Process)
631631
}
632632

633633
if let Err(path) = rustc_or_cargo_exists_in_path(process) {
634-
warn!("it looks like you have an existing installation of Rust at:");
634+
warn!("It looks like you have an existing installation of Rust at:");
635635
warn!("{}", path);
636636
warn!("It is recommended that rustup be the primary Rust installation.");
637637
warn!("Otherwise you may have confusion unless you are careful with your PATH.");

tests/suite/cli_inst_interactive.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ async fn install_stops_if_rustc_exists() {
498498
assert!(!out.ok);
499499
assert!(out
500500
.stderr
501-
.contains("it looks like you have an existing installation of Rust at:"));
501+
.contains("It looks like you have an existing installation of Rust at:"));
502502
assert!(out
503503
.stderr
504504
.contains("If you are sure that you want both rustup and your already installed Rust"));
@@ -530,7 +530,7 @@ async fn install_stops_if_cargo_exists() {
530530
assert!(!out.ok);
531531
assert!(out
532532
.stderr
533-
.contains("it looks like you have an existing installation of Rust at:"));
533+
.contains("It looks like you have an existing installation of Rust at:"));
534534
assert!(out
535535
.stderr
536536
.contains("If you are sure that you want both rustup and your already installed Rust"));

0 commit comments

Comments
 (0)