Skip to content

Commit 2ef7fe3

Browse files
committed
fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>
1 parent 7220628 commit 2ef7fe3

File tree

3 files changed

+3
-3
lines changed

3 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
@@ -311,7 +311,7 @@ tools, but otherwise, install the C++ build tools before proceeding.
311311
#[cfg(windows)]
312312
static MSVC_AUTO_INSTALL_MESSAGE: &str = r#"# Rust Visual C++ prerequisites
313313
314-
Rust requires a linker and Windows API libraries but they don't seem to be avaliable.
314+
Rust requires a linker and Windows API libraries but they don't seem to be available.
315315
316316
These components can be acquired by installing Visual Studio.
317317

src/diskio/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
411411
if let IncrementalFile::ThreadedReceiver(recv) = content_callback {
412412
loop {
413413
// We unwrap here because the documented only reason for recv to fail is a close by the sender, which is reading
414-
// from the tar file: a failed read there will propogate the error in the main thread directly.
414+
// from the tar file: a failed read there will propagate the error in the main thread directly.
415415
let contents = recv.recv().unwrap();
416416
let len = contents.len();
417417
// Length 0 vector is used for clean EOF signalling.

tests/cli-v2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ info: installing component 'rustc'
14271427
});
14281428
}
14291429

1430-
/// Invalidates the signature on the manifest of the nigthly channel.
1430+
/// Invalidates the signature on the manifest of the nightly channel.
14311431
fn make_signature_invalid(config: &Config) {
14321432
let manifest_path = config.distdir.join("dist/channel-rust-nightly.toml");
14331433

0 commit comments

Comments
 (0)