Skip to content

Commit 5ac191d

Browse files
authored
docs: Fix a typo in README and Contributing (#4264)
1 parent cf1f0cf commit 5ac191d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Contributing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can alternatively use `cargo` directly, but to do so you'll have to manually
2626
For example:
2727
```sh
2828
export CFG_RELEASE=1.45.0-nightly
29-
export CFG_RELEASE=nightly
29+
export CFG_RELEASE_CHANNEL=nightly
3030
cargo +nightly build ...
3131
# And/or inline if you prefer, or need to override value(s)
3232
CFG_RELEASE_CHANNEL=nightly CFG_RELEASE=1.45.0-nightly cargo +nightly build ...

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Alternatively, you can run `cargo install` directly as long as you set the requi
9494

9595
```sh
9696
export CFG_RELEASE=1.45.0-nightly
97-
export CFG_RELEASE=nightly
97+
export CFG_RELEASE_CHANNEL=nightly
9898
cargo install --path . --force --locked --features rustfmt,cargo-fmt
9999
```
100100
(Windows users can use `set` to specify the environment variable values)
@@ -164,7 +164,7 @@ You can alternatively use `cargo` directly, but you'll have to set the `CFG_RELE
164164
For example:
165165
```sh
166166
export CFG_RELEASE=1.45.0-nightly
167-
export CFG_RELEASE=nightly
167+
export CFG_RELEASE_CHANNEL=nightly
168168
```
169169
(Windows users can use `set` to specify the environment variable values)
170170

0 commit comments

Comments
 (0)