Skip to content

Conversation

@duyet
Copy link
Member

@duyet duyet commented Oct 26, 2025

  • Expand format.md with detailed examples and best practices
  • Expand constructor.md with multiple patterns and real-world examples
  • Add finalisation-destructors.md covering Drop trait and RAII
  • Add mem-replace.md explaining mem::take and mem::replace patterns
  • Add privacy-for-extensibility.md for API design best practices
  • Add option-iter.md showing Option iteration patterns
  • Add pass-variables-to-closure.md covering closure capture modes
  • Add let-else.md documenting modern Rust pattern matching

All new idioms include:

  • Comprehensive explanations in Vietnamese
  • Practical code examples
  • Best practices and anti-patterns
  • Real-world use cases
  • Performance considerations

🤖 Generated with Claude Code

- Expand format.md with detailed examples and best practices
- Expand constructor.md with multiple patterns and real-world examples
- Add finalisation-destructors.md covering Drop trait and RAII
- Add mem-replace.md explaining mem::take and mem::replace patterns
- Add privacy-for-extensibility.md for API design best practices
- Add option-iter.md showing Option iteration patterns
- Add pass-variables-to-closure.md covering closure capture modes
- Add let-else.md documenting modern Rust pattern matching

All new idioms include:
- Comprehensive explanations in Vietnamese
- Practical code examples
- Best practices and anti-patterns
- Real-world use cases
- Performance considerations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Oct 26, 2025
@github-actions
Copy link

Build book successfully!

@dosubot dosubot bot added the documentation Improvements or additions to documentation label Oct 26, 2025
@duyet duyet merged commit 71bbb3d into main Oct 26, 2025
1 check passed
@duyet duyet deleted the claude/expand-rust-idioms-011CUVLLByM8zs4E9ZLfXBr9 branch October 26, 2025 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants