docs(rust-style): order declarations by dependency #82

Merged
alexion merged 1 commits from docs/rust-declaration-order into main 2026-09-19 17:38:44 -04:00
Owner

Summary

  • add a Rust style rule for depth-first declaration order
  • cover functions, structs, enums, and recursive helper ordering
  • reorder existing Xatu Rust declarations to follow the new rule

Validation

  • cargo fmt -p xatu --check
  • bazel test //src/xatu:all
## Summary - add a Rust style rule for depth-first declaration order - cover functions, structs, enums, and recursive helper ordering - reorder existing Xatu Rust declarations to follow the new rule ## Validation - `cargo fmt -p xatu --check` - `bazel test //src/xatu:all`
alexion added 1 commit 2026-09-19 17:38:11 -04:00
alexion force-pushed docs/rust-declaration-order from 6102b1b8c8 to ad00301ac9 2026-09-19 17:38:11 -04:00 Compare
alexion merged commit ad00301ac9 into main 2026-09-19 17:38:44 -04:00
alexion deleted branch docs/rust-declaration-order 2026-09-19 17:38:44 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/dev#82