From 875a7186c77a59df7803f4b6050ee423b7cf4de4 Mon Sep 17 00:00:00 2001 From: Cancai Cai <77189278+caicancai@users.noreply.github.com> Date: Mon, 8 Jul 2024 23:34:43 +0800 Subject: [PATCH 1/2] chore/docs: add cargo fmt --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cb13024..c47bace 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,6 +26,7 @@ This is a Rust project, so [rustup](https://rustup.rs/) is the best place to sta This is a pure rust project, so only `cargo` is needed. - `cargo check` to analyze the current package and report errors. +- `cargo check` to format the current code - `cargo build` to compile the current package. - `cargo clippy` to catch common mistakes and improve code. - `cargo test` to run unit tests. From d1492d9bdcceae165a7df81d32eb905168689f8f Mon Sep 17 00:00:00 2001 From: Cancai Cai <77189278+caicancai@users.noreply.github.com> Date: Mon, 8 Jul 2024 23:36:08 +0800 Subject: [PATCH 2/2] chore/docs: add cargo fmt --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c47bace..a0c6d81 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,7 +26,7 @@ This is a Rust project, so [rustup](https://rustup.rs/) is the best place to sta This is a pure rust project, so only `cargo` is needed. - `cargo check` to analyze the current package and report errors. -- `cargo check` to format the current code +- `cargo fmt` to format the current code. - `cargo build` to compile the current package. - `cargo clippy` to catch common mistakes and improve code. - `cargo test` to run unit tests.