Skip to content

Conversation

malt03
Copy link
Contributor

@malt03 malt03 commented May 21, 2025

Thank you for this great book. As a native Japanese speaker, I’m starting to work on a Japanese translation to make this resource more accessible to the Japanese Rust community.

This PR is a work in progress.

TODO

  • 1. Introduction
  • 2. Idioms
    • 2.1. Use borrowed types for arguments
    • 2.2. Concatenating Strings with format!
    • 2.3. Constructor
    • 2.4. The Default Trait
    • 2.5. Collections Are Smart Pointers
    • 2.6. Finalisation in Destructors
    • 2.7. mem::{take(), replace()}
    • 2.8. On-Stack Dynamic Dispatch
    • 2.9. Foreign function interface (FFI)
      • 2.9.1. Idiomatic Errors
      • 2.9.2. Accepting Strings
      • 2.9.3. Passing Strings
    • 2.10. Iterating over an Option
    • 2.11. Pass Variables to Closure
    • 2.12. Privacy For Extensibility
    • 2.13. Easy doc initialization
    • 2.14. Temporary mutability
    • 2.15. Return consumed arg on error
  • 3. Design Patterns
  • 4. Anti-patterns
  • 5. Functional Programming
  • 6. Additional Resources

@marcoieni marcoieni marked this pull request as draft May 22, 2025 12:44
@marcoieni
Copy link
Collaborator

converted to draft while it's in progress 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants