Skip to content

Commit 38d0234

Browse files
cuiyourongrami3l
authored andcommitted
chore: fix some typos in comments
Signed-off-by: cuiyourong <cuiyourong@gmail.com>
1 parent 7677fea commit 38d0234

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cli/self_update.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ pub(crate) fn prepare_update() -> Result<Option<PathBuf>> {
11781178

11791179
// For windows x86 builds seem slow when used with windows defender.
11801180
// The website defaulted to i686-windows-gnu builds for a long time.
1181-
// This ensures that we update to a version thats appropriate for users
1181+
// This ensures that we update to a version that's appropriate for users
11821182
// and also works around if the website messed up the detection.
11831183
// If someone really wants to use another version, they still can enforce
11841184
// that using the environment variable RUSTUP_OVERRIDE_HOST_TRIPLE.

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ impl Cfg {
906906
// breadcrumb in case of regression: we used to get the cargo path and
907907
// cargo.exe path separately, not using the binary_file helper. This may
908908
// matter if calling a binary with some personality that allows .exe and
909-
// not .exe to coexist (e.g. wine) - but thats not something we aim to
909+
// not .exe to coexist (e.g. wine) - but that's not something we aim to
910910
// support : the host should always be correct.
911911
if cargo_path.exists() {
912912
return Ok(None);

0 commit comments

Comments
 (0)