style(rust): drop declaration ordering rule

This commit is contained in:
2026-09-19 10:30:53 -04:00
parent 5190d1ed01
commit d2fc9cb0af

View File

@@ -1,14 +0,0 @@
# Declaration rules
## Order declarations by use
### Rule
Order related Rust declarations from the type that uses other local types to those local dependencies.
For a type with multiple local field dependencies, place dependencies in field order.
Apply the rule depth-first before moving to the next dependency.
### Rationale
Use-first order lets readers start with the public or owning shape.
They can then read supporting types in the order the owner references them.