This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git
The following commit(s) were added to refs/heads/main by this push:
new 1b64ddaba docs: update contributing.md with Rust lint command (#2569)
1b64ddaba is described below
commit 1b64ddabaff4b1933523038c54aeb314ff4f9e15
Author: urlyy <[email protected]>
AuthorDate: Wed Sep 3 08:18:03 2025 +0800
docs: update contributing.md with Rust lint command (#2569)
## What does this PR do?
update `contributing.md` with Rust lint command
---
CONTRIBUTING.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 0ad2d3911..854a55cf6 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -119,7 +119,9 @@ gofmt -s -w .
```bash
cd rust
-cargo fmt
+cargo fmt --all
+# lint
+cargo clippy --workspace --all-features --all-targets -- -D warnings
```
### JavaScript
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]