diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f7b539c..2412df7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,6 +2,20 @@ ## Common operations +### Apply code formatting + +Format rust code: + +```bash +cargo fmt +``` + +Format rust code in markdown files: + +```bash +./format_rust_code.sh --mode fix +``` + ### Spawn a development environment with nix ```bash