diff --git a/docs/cross_compilation.md b/docs/cross_compilation.md index 1207b41..dbec288 100644 --- a/docs/cross_compilation.md +++ b/docs/cross_compilation.md @@ -42,7 +42,7 @@ mkShell { # See: https://github.com/NixOS/nixpkgs/pull/146583 depsBuildBuild = [ qemu ]; - # Run-time dependencies. build = your-matchine, host = target = aarch64 + # Run-time dependencies. build = your-machine, host = target = aarch64 # Usually are libraries to be linked. buildInputs = [ openssl ]; diff --git a/docs/reference.md b/docs/reference.md index 9d4e907..e5b4673 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -78,7 +78,7 @@ We provides two entry interfaces: # but less than `complete` profile. rust = «derivation»; - # Individial components. + # Individual components. rustc = «derivation»; cargo = «derivation»; rust-std = «derivation»; diff --git a/lib/rust-bin.nix b/lib/rust-bin.nix index 493203c..1f5de03 100644 --- a/lib/rust-bin.nix +++ b/lib/rust-bin.nix @@ -228,7 +228,7 @@ let ${concatStringsSep "\n" (errors ++ notes)} ''; - # Genereate the toolchain set from a parsed manifest. + # Generate the toolchain set from a parsed manifest. # # Manifest files are organized as follow: # { date = "2017-03-03"; diff --git a/scripts/fetch.py b/scripts/fetch.py index b60a435..faff70a 100755 --- a/scripts/fetch.py +++ b/scripts/fetch.py @@ -290,7 +290,7 @@ def sync_stable_channel(*, stop_if_exists, max_update=None): update_stable_index() def sync_beta_channel(*, stop_if_exists, max_update=None): - # Fetch the global nightly manifest to retrive the latest nightly version. + # Fetch the global nightly manifest to retrieve the latest nightly version. print('Fetching latest beta version') manifest = fetch_url(f'{DIST_ROOT}/channel-rust-beta.toml').text date = datetime.date.fromisoformat(toml.loads(manifest)['date']) @@ -313,7 +313,7 @@ def sync_beta_channel(*, stop_if_exists, max_update=None): update_beta_index() def sync_nightly_channel(*, stop_if_exists, max_update=None): - # Fetch the global nightly manifest to retrive the latest nightly version. + # Fetch the global nightly manifest to retrieve the latest nightly version. print('Fetching latest nightly version') manifest = fetch_url(f'{DIST_ROOT}/channel-rust-nightly.toml').text date = datetime.date.fromisoformat(toml.loads(manifest)['date'])