From 00a16db9cde2ff677b636cd21bb231ce67424167 Mon Sep 17 00:00:00 2001 From: kwangin Date: Thu, 3 May 2018 08:38:09 +0900 Subject: [PATCH 1/3] Add comment about rustc version in README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 7f4b4f24df5f3c..61c7d8dc2bc8cf 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,13 @@ $ source $HOME/.cargo/env $ rustup component add rustfmt-preview ``` +If your rustc version is lower than 1.25.0, please update and install rustfmt: + +```bash +$ rustup update +$ rustup component add rustfmt-preview +``` + Download the source code: ```bash From ec8cfc77adb3c3bdeb550cffa4e57338c9ff1ce8 Mon Sep 17 00:00:00 2001 From: kwangin Date: Thu, 3 May 2018 09:04:56 +0900 Subject: [PATCH 2/3] Remove component adding part --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 61c7d8dc2bc8cf..93d2af8ac3b922 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,6 @@ If your rustc version is lower than 1.25.0, please update and install rustfmt: ```bash $ rustup update -$ rustup component add rustfmt-preview ``` Download the source code: From b950e33d81c2dc6d8e323bb51440455048453a55 Mon Sep 17 00:00:00 2001 From: kwangin Date: Thu, 3 May 2018 09:06:41 +0900 Subject: [PATCH 3/3] Remove useless comment --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 93d2af8ac3b922..46bd76e70e1924 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ $ source $HOME/.cargo/env $ rustup component add rustfmt-preview ``` -If your rustc version is lower than 1.25.0, please update and install rustfmt: +If your rustc version is lower than 1.25.0, please update it: ```bash $ rustup update