·rust-mutability
</>

rust-mutability

huiali/rust-skills

可变性专家。处理 E0596, E0499, E0502, interior mutability, Cell, RefCell, Mutex, RwLock, borrow conflict, 可变性, 内部可变性, 借用冲突

4Installs·0Trend·@huiali

Installation

$npx skills add https://github.com/huiali/rust-skills --skill rust-mutability

SKILL.md

| &mut T | 外部调用者 | Yes | 标准可变借用 | | Cell | 内部 | No | Copy 类型的内部可变性 | | RefCell | 内部 | No | 非 Copy 类型的内部可变性 | | Mutex | 内部 | Yes | 多线程内部可变性 | | RwLock | 内部 | Yes | 多线程读写锁 |

| E0596 | 无法获取可变引用 | "add mut" | 这个真的需要可变吗? | | E0499 | 多个可变借用冲突 | "split borrows" | 数据结构设计对吗? | | E0502 | 借用冲突 | "separate scopes" | 为什么需要同时借用? | | RefCell panic | 运行时借用错误 | "use tryborrow" | 运行时检查合适吗? |

可变性专家。处理 E0596, E0499, E0502, interior mutability, Cell, RefCell, Mutex, RwLock, borrow conflict, 可变性, 内部可变性, 借用冲突 Source: huiali/rust-skills.

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/huiali/rust-skills --skill rust-mutability Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/huiali/rust-skills --skill rust-mutability
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is rust-mutability?

可变性专家。处理 E0596, E0499, E0502, interior mutability, Cell, RefCell, Mutex, RwLock, borrow conflict, 可变性, 内部可变性, 借用冲突 Source: huiali/rust-skills.

How do I install rust-mutability?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/huiali/rust-skills --skill rust-mutability Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/huiali/rust-skills