From aa5525036568a6fa619d80aab36687a80cb2747c Mon Sep 17 00:00:00 2001 From: Daniel Pauls Date: Fri, 19 Jun 2020 15:38:34 +0200 Subject: [PATCH] docs: Fix a typo in README and Contributing --- Contributing.md | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Contributing.md b/Contributing.md index 98452015598..4d13fc5bed5 100644 --- a/Contributing.md +++ b/Contributing.md @@ -26,7 +26,7 @@ You can alternatively use `cargo` directly, but to do so you'll have to manually For example: ```sh export CFG_RELEASE=1.45.0-nightly -export CFG_RELEASE=nightly +export CFG_RELEASE_CHANNEL=nightly cargo +nightly build ... # And/or inline if you prefer, or need to override value(s) CFG_RELEASE_CHANNEL=nightly CFG_RELEASE=1.45.0-nightly cargo +nightly build ... diff --git a/README.md b/README.md index 35329c23734..1fb3454a48e 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ Alternatively, you can run `cargo install` directly as long as you set the requi ```sh export CFG_RELEASE=1.45.0-nightly -export CFG_RELEASE=nightly +export CFG_RELEASE_CHANNEL=nightly cargo install --path . --force --locked --features rustfmt,cargo-fmt ``` (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 For example: ```sh export CFG_RELEASE=1.45.0-nightly -export CFG_RELEASE=nightly +export CFG_RELEASE_CHANNEL=nightly ``` (Windows users can use `set` to specify the environment variable values)