AGENTS: clear instruction for how to format Rust code
What changed, and why it matters
This commit only adds a one-line instruction to the project's AGENTS.md file telling contributors how to format Rust code. It is a documentation-only change with no code modifications and no security relevance.
No security action needed. This is a routine documentation update.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds the line ‘For Rust code changes, run cd src/rust && cargo fmt to format the code.’ to AGENTS.md. No source code, build scripts, tests, or configuration files were changed. There are no functional or security implications.
Changed components
AGENTS.mdInspect captured patch +1 / −0
diff --git a/AGENTS.md b/AGENTS.md
index b5dede2..42b5f77 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -41,6 +41,7 @@ pinned toolchain in `rust-toolchain.toml`; keep module paths aligned with `src/r
bindings (`cbindgen`, protobuf) when interfaces change.
For C code changes, run ./scripts/format to format the code. For Python changes, run `black` to format the code.
+For Rust code changes, run `cd src/rust && cargo fmt` to format the code.
## Testing Guidelines
Place new C specs in `test/unit-test` and add doubles to `test/hardware-fakes` when hardware
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.