- Every value has exactly one owner at a time.
- When the owner goes out of scope, the value is dropped (freed) — no GC needed.
- You can either have one mutable reference OR any number of read-only references to a value — never both at once.
solairerove/leetcode-rs
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|