rust-closures-iterators
Installation
SKILL.md
Closures & Iterators
Based on The Rust Programming Language Ch. 13, Effective Rust, and the Iterator trait documentation.
When to Use This Skill
- Writing closures with correct capture semantics
- Understanding
Fn,FnMut,FnOncetrait hierarchy - Chaining iterator adaptors for data transformation
- Implementing
Iteratorfor custom types - Using
collect()effectively - Performance of iterator chains vs loops