Skip to content

Commit fd90878

Browse files
committed
Spelling and grammar fixes
1 parent 46973d6 commit fd90878

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Thanks go to:
134134

135135
## [1.24.3] - 2021-05-31
136136

137-
This patch release focusses around resolving some regressions in behaviour in
137+
This patch release focuses around resolving some regressions in behaviour in
138138
the 1.24.x series. One problem, related to accounting for the release of data
139139
blocks in the unpack slab allocator, fixed in [pr#2779], would manifest in the
140140
installer [hanging during installation][issue#2774]. A second, fixed in
@@ -430,7 +430,7 @@ subsequently `1.48.1` were released, a `rustup update` would update your `1.48`
430430
from `1.48.0` to `1.48.1`.
431431

432432
As always, there were more changes than described below, thanks to everyone
433-
who contributed to this release. Hilights for this release are detailed below,
433+
who contributed to this release. Highlights for this release are detailed below,
434434
but you can always see the full list of changes via the Git repository.
435435

436436
### Added
@@ -1315,7 +1315,7 @@ Tryzelaar, Ricardo Martins, Артём Павлов [Artyom Pavlov]
13151315
- [Add PATH in post-install message when not modifying PATH](https://github.com/rust-lang/rustup/pull/1126)
13161316
- [Cleanup download-related code in the rustup_dist crate](https://github.com/rust-lang/rustup/pull/1131)
13171317
- [Increase Rust detection timeout to 3 seconds](https://github.com/rust-lang/rustup/pull/1130)
1318-
- [Supress confusing NotADirectory error and show override missing](https://github.com/rust-lang/rustup/pull/1128)
1318+
- [Suppress confusing NotADirectory error and show override missing](https://github.com/rust-lang/rustup/pull/1128)
13191319
- [Don't try to update archive toolchains](https://github.com/rust-lang/rustup/pull/1121)
13201320
- [Exit successfully on "update not yet available"](https://github.com/rust-lang/rustup/pull/1120)
13211321
- [Add a message when removing a component](https://github.com/rust-lang/rustup/pull/1119)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Rustup is distributed. The steps for a release are:
181181
### `RUSTUP_FORCE_ARG0`
182182

183183
The environment variable `RUSTUP_FORCE_ARG0` can be used to get rustup to think
184-
its a particular binary, rather than e.g. copying it, symlinking it or other
184+
it's a particular binary, rather than e.g. copying it, symlinking it or other
185185
tricks with exec. This is handy when testing particular code paths from cargo
186186
run.
187187

ci/actions-templates/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ Rustup has five situations in which we perform CI builds:
1212
4. Pushes to the stable branch
1313
5. Renovate branches with dependency updates, tested before opening a PR or
1414
merging. They are assessed the same as a PR: if it would be good enough as a
15-
human proposed change, its good enough as a robot proposed change.
15+
human proposed change, it's good enough as a robot proposed change.
1616

1717
The goals for each of those situations are subtly different. For PR changes,
1818
we want to know as quickly as possible if the change is likely to be an issue.
1919

2020
Once a change hits master, we want to know that all our targets build.
2121

2222
Time based rebuilds of master are about determining if updates to the toolchain
23-
have caused us problems, and also to try and hilight if we have flaky tests.
23+
have caused us problems, and also to try and highlight if we have flaky tests.
2424

2525
The stable branch is about making releases. Builds from that branch are uploaded
2626
to S3 so that we can then make a release of rustup.

doc/src/environment-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
`RUST_BACKTRACE` is set.
3636

3737
- `RUSTUP_PERMIT_COPY_RENAME` *unstable* When set, allows rustup to fall-back
38-
to copying files if attempts to `rename` result in an cross-device link
38+
to copying files if attempts to `rename` result in cross-device link
3939
errors. These errors occur on OverlayFS, which is used by [Docker][dc]. This
4040
feature sacrifices some transactions protections and may be removed at any
4141
point. Linux only.

src/cli/self_update/windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ fn _remove_from_path(old_path: Vec<u16>, path_str: Vec<u16>) -> Option<Vec<u16>>
457457
.position(|path| path == path_str)?;
458458
// If there's a trailing semicolon (likely, since we probably added one
459459
// during install), include that in the substring to remove. We don't search
460-
// for that to find the string, because if its the last string in the path,
460+
// for that to find the string, because if it's the last string in the path,
461461
// there may not be.
462462
let mut len = path_str.len();
463463
if old_path.get(idx + path_str.len()) == Some(&(b';' as u16)) {

src/diskio/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ pub(crate) trait Executor {
298298
self.dispatch(item)
299299
}
300300

301-
/// Actually dispatch a operation.
301+
/// Actually dispatch an operation.
302302
/// This is called by the default execute() implementation and
303303
/// should not be called directly.
304304
fn dispatch(&self, item: Item) -> Box<dyn Iterator<Item = CompletedIo> + '_>;

tests/dist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ fn unavailable_component_from_profile() {
860860

861861
#[test]
862862
fn removed_component() {
863-
// On day 1 install the 'bonus' component, on day 2 its no longer a component
863+
// On day 1 install the 'bonus' component, on day 2 it's no longer a component
864864
let edit = &|date: &str, chan: &mut MockChannel| {
865865
if date == "2016-02-01" {
866866
let tpkg = chan.packages[0]

tests/mock/clitools.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub fn setup(s: Scenario, f: &dyn Fn(&mut Config)) {
9999
env::remove_var("RUSTUP_TOOLCHAIN");
100100
env::remove_var("SHELL");
101101
env::remove_var("ZDOTDIR");
102-
// clap does it's own terminal colour probing, and that isn't
102+
// clap does its own terminal colour probing, and that isn't
103103
// trait-controllable, but it does honour the terminal. To avoid testing
104104
// claps code, lie about whatever terminal this process was started under.
105105
env::set_var("TERM", "dumb");
@@ -533,7 +533,7 @@ pub fn env<E: rustup_test::Env>(config: &Config, cmd: &mut E) {
533533
);
534534

535535
// The unix fallback settings file may be present in the test environment, so override
536-
// the path to the settings file with a non-existing path to avoid intereference
536+
// the path to the settings file with a non-existing path to avoid interference
537537
cmd.env(
538538
"RUSTUP_OVERRIDE_UNIX_FALLBACK_SETTINGS",
539539
"/bogus-config-file.toml",
@@ -693,7 +693,7 @@ where
693693
&& e.kind() == std::io::ErrorKind::Other
694694
&& e.raw_os_error() == Some(26)
695695
{
696-
// This is a ETXTBSY situation
696+
// This is an ETXTBSY situation
697697
std::thread::sleep(std::time::Duration::from_millis(250));
698698
} else {
699699
panic!("Unable to run test command: {:?}", e);

0 commit comments

Comments
 (0)