3 ms·
Simplifying the Concept of Ownership and Borrowing in Rust
- pornel 3y agoI think explanations of stack vs heap are off-topic for ownership and borrowing. Values on the stack are owned too. Even zero-sized values that aren't stored anywhere can be non-copyable and have a single owner enforced.