Skip to content

Commit 0c3c62d

Browse files
authored
Use TLSv1.3 with curl if specified at all
The curl option specified to use TLSv1.2 explicity while nowadays 1.3 is availalble and recommended. Switch to specifying 1.3 instead of 1.2.
1 parent 3ced044 commit 0c3c62d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/installation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ installation of `rustup` and then install `nightly` along with `clippy` or
4949
`miri`, first install `rustup` without a toolchain:
5050

5151
```console
52-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
52+
curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
5353
```
5454

5555
Next you can install `nightly` allowing `rustup` to downgrade until it finds

0 commit comments

Comments
 (0)