mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-11-29 22:47:43 +02:00
docs: Update Invoke-WebRequest to Start-BitsTransfer (#373)
This commit is contained in:
@@ -43,7 +43,7 @@ Set-ExecutionPolicy RemoteSigned
|
|||||||
Then, you can run:
|
Then, you can run:
|
||||||
|
|
||||||
```ps
|
```ps
|
||||||
Invoke-WebRequest https://git.io/rustlings-win | Select-Object -ExpandProperty Content | Out-File $env:TMP/install_rustlings.ps1; Unblock-File $env:TMP/install_rustlings.ps1; Invoke-Expression $env:TMP/install_rustlings.ps1
|
Start-BitsTransfer -Source https://git.io/rustlings-win -Destination $env:TMP/install_rustlings.ps1; Unblock-File $env:TMP/install_rustlings.ps1; Invoke-Expression $env:TMP/install_rustlings.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
To install Rustlings. Same as on MacOS/Linux, you will have access to the `rustlings` command after it.
|
To install Rustlings. Same as on MacOS/Linux, you will have access to the `rustlings` command after it.
|
||||||
|
|||||||
Reference in New Issue
Block a user