rust-ownership-borrowing
CommunityMaster Rust ownership and borrowing safely.
Authoradelabdelgawad
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Clarify Rust's ownership, borrowing, and lifetimes to prevent memory-safety bugs and guide correct code patterns.
Core Features & Use Cases
- Explains ownership transfer, borrowing rules (immutable vs mutable), and non-lexical lifetimes (NLL).
- Demonstrates when to clone vs borrow and how to design safe APIs that avoid moving out of borrowed data.
- Provides concrete examples for slices, &str, and common patterns that trigger borrow-checker errors (E0382, E0499, E0502, E0507, E0515).
Quick Start
Explain a borrow-checker error and show a safe alternative using borrow or clone.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rust-ownership-borrowing Download link: https://github.com/adelabdelgawad/rust-fullstack-agents/archive/main.zip#rust-ownership-borrowing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.