summaryrefslogtreecommitdiff
path: root/Moved heap data principle.md
blob: e8a34accde832404f2bc049387221ca77b1f1144 (plain)
1
2
3
4
5
[[Ownership]]

---

If a variable `x` moves ownership of heap data to another variable `y`, then `x` cannot be used after the move.