Ownership

Guide for Rust ownership, borrowing, and lifetimes. Use when working with ownership rules, move semantics, borrowing, slices, or lifetime annotations.

vinnie357 2d01eca 2 files · 3.5 KB Updated

File contents

Rust Ownership and Borrowing

Ownership rules, borrowing, slices, and lifetimes.

For ownership rules, borrowing patterns, slices, and lifetime annotations, see references/ownership.md.

Anti-fabrication

This skill follows core:anti-fabrication. Every claim about ownership, borrowing, and lifetime rules is verified against the official Rust Book chapters cited in sources.md — not inferred from generic familiarity with the language. Before asserting borrow-checker behavior this skill and its references do not cover, check the installed Rust toolchain's documentation rather than guessing.

vinnie357/claude-skills/tree/main/plugins/languages/rust/skills/ownership commit 2d01eca808

Frequently asked questions

npx skillmds add vinnie357/ownership