Skip to content

Commit a558f65

Browse files
committed
address comments
1 parent 3670450 commit a558f65

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/src/basics.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,17 @@ info: downloading self-updates
3030

3131
## Keeping `rustup` up to date
3232

33-
## Keeping rustup up to date
33+
If your `rustup` build with the `no-self-update` feature, it will not be able to update itself.
3434

35-
It is possible to control Rustup's automatic self update mechanism with the `auto-self-update` configuration
36-
variable. This setting supports three values: `enable` and `disable` and `check-only`.
35+
If your `rustup` build without the `no-self-update` feature,
36+
it is possible to control Rustup's automatic self update mechanism with the `auto-self-update` configuration variable.
37+
This setting supports three values: `enable` and `disable` and `check-only`.
3738

3839
* `disable` will ensure that no automatic self updating actions are taken.
3940
* `enable` will mean that `rustup update` and similar commands will also check-for, and install, any update to Rustup.
4041
* `check-only` will cause any automatic self update to check and report on any updates, but not to automatically install them.
4142

42-
Whether automatic self-update is enabled or not, you can request that Rustup check for, and update itself to the
43+
Whether `auto-self-update` is `enable` or not, you can request that Rustup check for, and update itself to the
4344
latest version of `rustup` without updating any installed toolchains by running `rustup
4445
self update`:
4546

@@ -50,7 +51,7 @@ info: downloading self-updates
5051
```
5152

5253
> ### Disable automatic self-updates with the parameter of the command
53-
> If auto-self-update is `enable`, `rustup` will automatically update itself at the end of any
54+
> Since the default value of auto-self-update is `enable`, `rustup` will automatically update itself at the end of any
5455
> toolchain installation as well. You can prevent this automatic behaviour by
5556
> passing the `--no-self-update` argument when running `rustup update` or
5657
> `rustup toolchain install`.

0 commit comments

Comments
 (0)