Skip to content

Commit 5bf15e3

Browse files
proskirami3l
authored andcommitted
Fix some typos
1 parent a25cf51 commit 5bf15e3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/user-guide/src/basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ info: downloading self-update
3333
If your `rustup` was built with the [no-self-update feature](https://github.com/rust-lang/rustup/blob/master/Cargo.toml#L25), it can not update
3434
itself. This is not the default, and only versions of `rustup` built with
3535
`--no-default-features`, or obtained from a third-party distributor who has
36-
disabled it (such as Nixos).
36+
disabled it (such as NixOS).
3737

3838
Otherwise Rustup can update itself. It is possible to control Rustup's automatic
3939
self update mechanism with the `auto-self-update` configuration variable. This
@@ -55,7 +55,7 @@ info: downloading self-update
5555

5656
### Disabling self updates on a per-invocation basis
5757
> Self updates can also be suppressed on individual invocations of `rustup` by
58-
> passing the argurment `--no-self-update` when running `rustup update` or
58+
> passing the argument `--no-self-update` when running `rustup update` or
5959
> `rustup toolchain install`.
6060
6161
## Help system

doc/user-guide/src/concepts/proxies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The list of proxies is currently static in `rustup` and is as follows:
1616

1717
- `rust-lldb`, `rust-gdb`, and `rust-gdbgui` are simple wrappers around the `lldb`, `gdb`, and `gdbgui` debuggers respectively. The wrappers enable some pretty-printing of Rust values and add some convenience features to the debuggers by means of their scripting interfaces.
1818

19-
- `rust-analyzer` is part of the Rust IDE integration tooling. It implements the language-server protocol to permit IDEs and editors such as Visual Studio Code, ViM, or Emacs, access to the semantics of the Rust code you are editing. It comes from the `rust-analyzer` component.
19+
- `rust-analyzer` is part of the Rust IDE integration tooling. It implements the language-server protocol to permit IDEs and editors such as Visual Studio Code, Vim, or Emacs, access to the semantics of the Rust code you are editing. It comes from the `rust-analyzer` component.
2020

2121
- `cargo-clippy` and `clippy-driver` are related to the `clippy` linting tool which provides extra checks for common mistakes and stylistic choices and it comes from the `clippy` component.
2222

src/currentprocess/filesource.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ pub(super) struct TestWriter(TestWriterInner);
205205
#[cfg(feature = "test")]
206206
impl TestWriter {
207207
pub(super) fn lock(&self) -> TestWriterLock<'_> {
208-
// The stream can be locked even if a test thread paniced: its state
208+
// The stream can be locked even if a test thread panicked: its state
209209
// will be ok
210210
TestWriterLock {
211211
inner: self.0.lock().unwrap_or_else(|e| e.into_inner()),

src/dist/manifestation/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ fn add_extensions_does_not_remove_other_components() {
14841484
});
14851485
}
14861486

1487-
// Asking to remove extensions on initial install is nonsese.
1487+
// Asking to remove extensions on initial install is nonsense.
14881488
#[test]
14891489
#[should_panic]
14901490
fn remove_extensions_for_initial_install() {

0 commit comments

Comments
 (0)