Naming
Name what an operation does and what a value represents.
Conventions
Why
Native casing makes declarations predictable to Rust readers and tools.
Rules
MUST use snake_case for modules, files, functions, and values.[review]
MUST use PascalCase for structs, enums, traits, and type parameters.[review]
MUST use SCREAMINGSNAKECASE for constants.[review]
MUST give predicates anis_,has_,can_, orshould_prefix when appropriate.[review]
MUST choose concrete operation verbs rather than vague utility names.[review]
SHOULD let the owning module supply context instead of repeating its name in every declaration.[review]
[review]
Compiler naming warnings and configured Clippy rules cover casing. Review checks domain precision.
Enforcement
Compiler naming warnings and configured Clippy rules cover casing. Review checks domain precision.