Skip to content

Commit f5db319

Browse files
authored
Merge pull request #2301 from x448/patch-1
Update ch01-01-installation.md to require TLS 1.2
2 parents 2ae0871 + 297534d commit f5db319

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/dictionary.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ Hoare
198198
Hola
199199
homogenous
200200
html
201+
https
201202
hyperoptimize
202203
hypotheticals
203204
Iceburgh
@@ -357,6 +358,7 @@ PrimaryColor
357358
println
358359
priv
359360
proc
361+
proto
360362
pthreads
361363
pushups
362364
QuitMessage
@@ -476,6 +478,7 @@ timestamp
476478
Tiếng
477479
timeline
478480
tlborm
481+
tlsv
479482
TODO
480483
TokenStream
481484
toml

src/ch01-01-installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ using these steps should work as expected with the content of this book.
2828
If you’re using Linux or macOS, open a terminal and enter the following command:
2929

3030
```text
31-
$ curl https://sh.rustup.rs -sSf | sh
31+
$ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
3232
```
3333

3434
The command downloads a script and starts the installation of the `rustup`

0 commit comments

Comments
 (0)