From ae09e9344776b1c6820672ccbf606aa6fb5f7fe8 Mon Sep 17 00:00:00 2001 From: Chris Couzens Date: Sun, 19 Nov 2023 17:18:16 +0000 Subject: [PATCH] Correct code formatting contribution instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` ⬢[chris@toolbox wasm-bindgen]$ cargo run error: a bin target must be available for `cargo run` ``` --- guide/src/contributing/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/src/contributing/index.md b/guide/src/contributing/index.md index 00a195ac518..34b5214e136 100644 --- a/guide/src/contributing/index.md +++ b/guide/src/contributing/index.md @@ -23,4 +23,4 @@ development. You may want to browse the [unpublished guide documentation] for ## Code Formatting -Although formatting rules are not mandatory, it is encouraged to run `cargo run` (`rustfmt`) with its default rules within a PR to maintain a more organized code base. If necessary, a PR with a single commit that formats the entire project is also welcome. \ No newline at end of file +Although formatting rules are not mandatory, it is encouraged to run `cargo fmt` (`rustfmt`) with its default rules within a PR to maintain a more organized code base. If necessary, a PR with a single commit that formats the entire project is also welcome.