From 250743885df3a7fcd04303e21a9311221f4df9e5 Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 7 Dec 2022 12:31:43 +0100 Subject: [PATCH] add a sentence about installing rust-nightly --- CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d78627580..377aadea0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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