Skip to content

Commit b2f70a4

Browse files
committed
Update uninstall instructions
1 parent be440bc commit b2f70a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/trpl/installing-rust.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ installer](https://static.rust-lang.org/dist/rust-nightly-x86_64-pc-windows-gnu.
2424
and run it.
2525

2626
If you decide you don't want Rust anymore, we'll be a bit sad, but that's okay.
27-
Not every programming language is great for everyone. Just pass an argument to
28-
the script:
27+
Not every programming language is great for everyone. Just run the uninstall
28+
script:
2929

3030
```bash
31-
$ curl -s https://static.rust-lang.org/rustup.sh | sudo sh -s -- --uninstall
31+
$ sudo /usr/local/lib/rustlib/uninstall.sh
3232
```
3333

3434
If you used the Windows installer, just re-run the `.exe` and it will give you

0 commit comments

Comments
 (0)