File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1212 fetch-depth : 1
1313 - uses : actions-rs/toolchain@v1
1414 with :
15- toolchain : nightly-2020-05-05
15+ toolchain : nightly-2020-07-27
1616 components : clippy
1717 profile : minimal
1818 override : true
2828 fetch-depth : 1
2929 - uses : actions-rs/toolchain@v1
3030 with :
31- toolchain : nightly-2020-05-05
31+ toolchain : nightly-2020-07-27
3232 components : rustfmt
3333 profile : minimal
3434 override : true
Original file line number Diff line number Diff line change @@ -85,35 +85,35 @@ You can create a block by sending a transaction through [JSON-RPC](https://githu
8585
8686## Formatting
8787
88- Make sure you run `rustfmt` before creating a PR to the repo. You need to install the nightly-2020-05-05 version of `rustfmt`.
88+ Make sure you run `rustfmt` before creating a PR to the repo. You need to install the nightly-2020-07-27 version of `rustfmt`.
8989
9090```sh
91- rustup toolchain install nightly-2020-05-05
92- rustup component add rustfmt --toolchain nightly-2020-05-05
91+ rustup toolchain install nightly-2020-07-27
92+ rustup component add rustfmt --toolchain nightly-2020-07-27
9393```
9494
9595To run `rustfmt`,
9696
9797```sh
98- cargo +nightly-2020-05-05 fmt
98+ cargo +nightly-2020-07-27 fmt
9999```
100100
101101## Linting
102102
103103You should run `clippy` also. This is a lint tool for rust. It suggests more efficient/readable code.
104104You can see [the clippy document](https://rust-lang.github.io/rust-clippy/master/index.html) for more information.
105- You need to install the nightly-2020-05-05 version of `clippy`.
105+ You need to install the nightly-2020-07-27 version of `clippy`.
106106
107107### Install
108108```sh
109- rustup toolchain install nightly-2020-05-05
110- rustup component add clippy --toolchain nightly-2020-05-05
109+ rustup toolchain install nightly-2020-07-27
110+ rustup component add clippy --toolchain nightly-2020-07-27
111111```
112112
113113### Run
114114
115115```sh
116- cargo +nightly-2020-05-05 clippy --all --all-targets
116+ cargo +nightly-2020-07-27 clippy --all --all-targets
117117```
118118
119119## Testing
You can’t perform that action at this time.
0 commit comments