Skip to content

Commit bd1e46f

Browse files
committed
Fix lint in CONTRIBUTING.md
The $ prevents copy-and-paste from the instructions; and one of the code blocks was missing a shell language type.
1 parent 4112620 commit bd1e46f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ For developing on `rustup` itself, you may want to install into a temporary
1010
directory, with a series of commands similar to this:
1111

1212
```bash
13-
$ cargo build
14-
$ mkdir home
15-
$ RUSTUP_HOME=home CARGO_HOME=home target/debug/rustup-init --no-modify-path -y
13+
cargo build
14+
mkdir home
15+
RUSTUP_HOME=home CARGO_HOME=home target/debug/rustup-init --no-modify-path -y
1616
```
1717

1818
You can then try out `rustup` with your changes by running `home/bin/rustup`, without
@@ -125,8 +125,8 @@ its a particular binary, rather than e.g. copying it, symlinking it or other
125125
tricks with exec. This is handy when testing particular code paths from cargo
126126
run.
127127

128-
```
129-
$ RUSTUP_FORCE_ARG0=rustup cargo run -- uninstall nightly
128+
```shell
129+
RUSTUP_FORCE_ARG0=rustup cargo run -- uninstall nightly
130130
```
131131

132132
### `RUSTUP_BACKTRACK_LIMIT`

0 commit comments

Comments
 (0)