From 7d26a9b8d078ace12cee11e7e0401aab11b70f95 Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Wed, 19 Feb 2020 07:10:06 +0600 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cdfbf4c1..dd3fa01d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,3 +11,10 @@ cargo fmt --all -- --check ``` To report a bug, suggest new functionality, or ask a question, go to [Issues](https://github.com/teloxide/teloxide/issues). Try to make MRE (**M**inimal **R**eproducible **E**xample) and specify your teloxide version to let others help you. + + +And don't forget to switch to the nightly channel in order to be able to run `cargo fmt` (because our [rustfmt.toml](https://github.com/teloxide/teloxide/blob/master/rustfmt.toml) requires some nightly-only functionality): + +```bash +$ rustup override set nightly +```