summaryrefslogtreecommitdiff
path: root/Pointer safety principle.md
blob: 45c0f5caa4eab3c417118cadcf2f39ad7efadc31 (plain)
1
2
3
Data should never be aliased and mutated at the same time.

Boxes are not allowed to be aliased. References are meant to be aliased: the pointer safety principle is ensured via the borrow checker.