# rust > Rust idiomatic patterns and conventions. - Author: Alisue - Repository: lambdalisue/dotfiles - Version: 20260121134727 - Stars: 41 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/lambdalisue/dotfiles - Web: https://mule.run/skillshub/@@lambdalisue/dotfiles~rust:20260121134727 --- --- name: rust description: Rust idiomatic patterns and conventions. --- ## Conventions - **Ownership**: Minimize cloning, prefer borrowing - **Traits**: Derive `Debug`, `Clone`, `PartialEq` where appropriate - **Style**: Iterators over loops, effective pattern matching ## Testing ```rust #[cfg(test)] mod tests { use super::*; #[test] fn behavior_description() { // AAA pattern } } ```