Skip to content

Commit

Permalink
{docs,fetch}: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
oxalica committed Jun 3, 2024
1 parent 28e86b2 commit 081f091
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/cross_compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
2 changes: 1 addition & 1 deletion docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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»;
Expand Down
2 changes: 1 addition & 1 deletion lib/rust-bin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions scripts/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand All @@ -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'])
Expand Down

0 comments on commit 081f091

Please sign in to comment.