tag
m02▌
2 indexed skills · max 10 per page
skills (2)
m02-resource
actionbook/rust-skills · Productivity
Layer 1: Language Mechanics
m02-resource
zhanghandong/rust-skills · Productivity
Smart pointer and resource ownership patterns for Rust heap allocation and reference counting. \n \n Guides ownership decisions through a three-step model: single vs. shared ownership, single-threaded vs. multi-threaded context, and presence of reference cycles \n Covers six core types (Box, Rc, Arc, Weak, Cell, RefCell) with a decision flowchart and quick reference table for choosing the right pattern \n Includes common errors and anti-patterns with fixes, such as using Weak to break cycles, av