add a sentence about installing rust-nightly

This commit is contained in:
Tamo 2022-12-07 12:31:43 +01:00
parent 5eecb8489d
commit 250743885d
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69
1 changed files with 9 additions and 0 deletions

View File

@ -66,6 +66,15 @@ touch benchmarks/benches/datasets_paths.rs
```
Then you can format your code BUT you need to do it with rust-fmt.
If you have not installed the rust nightly version yet here is how to do it:
```bash
rustup toolchain install nightly
```
You can read more about it here: https://rust-lang.github.io/rustup/concepts/channels.html
And finally, to format your code you can run:
```bash
cargo +nightly fmt --all