From e925c38236ac26494a7698ffe861e63f397253b8 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 2f6096025b26288bb4fca0f04639c5b11243753e 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 ab81779df644d9020b5871104d2370c31c12b5df 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