From fc7e3969aa98192707e3d899d11c05a5b29ee000 Mon Sep 17 00:00:00 2001 From: Lorenzo Date: Tue, 10 Mar 2026 16:35:53 +0000 Subject: [PATCH] Update formatting command in CONTRIBUTING.md --- .github/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 5665723c..3f6f5671 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -50,7 +50,7 @@ $ rust-code-analysis-cli -p src/algorithm/neighbour/fastpair.rs --ls 22 --le 213 1. After a PR is opened maintainers are notified 2. Probably changes will be required to comply with the workflow, these commands are run automatically and all tests shall pass: - * **Formatting**: run `rustfmt src/*.rs` to apply automatic formatting + * **Formatting**: run `cargo fmt --all -- --check` to apply automatic formatting * **Linting**: `clippy` is used with command `cargo clippy --all-features -- -Drust-2018-idioms -Dwarnings` * **Coverage** (optional): `tarpaulin` is used with command `cargo tarpaulin --out Lcov --all-features -- --test-threads 1` * **Testing**: multiple test pipelines are run for different targets