This book is complementary to the Rust Official API Guidelines:
As another source of reference, the Rust Analyzer Style Guide should also be used:
- Chapter 1 - Coding Style and Idioms
- Chapter 2 - Clippy and Linting Discipline
- Chapter 3 - Performance Mindset
- Chapter 4 - Errors and Results
- Chapter 5 - Automated Testing
- Chapter 6 - Generics, Dynamic Dispatch and Static Dispatch
- Chapter 7 - Type State Pattern
- Chapter 8 - Comments vs Documentation
- Comments vs Documentation: Know the Difference
- When to use comments
- When comments get in the way
- Don't Write Living Documentation (living comments)
- Replace Comments with Code
TODO
should become issues- When to use doc comments
- Documentation in Rust: How, When and Why
- Checklist for Documentation coverage
- Chapter 9 - Understanding Pointers
- Final Notes