summaryrefslogtreecommitdiff
path: root/References temporarily remove permissions.md
blob: 817b801d34f040e695739ea3657dedf81531374b (plain)
1
2
3
4
5
6
7
8
[[Variables are subject to permissions similar to files on linux]]
[[Creating a reference to a variable is called borrowing]]
[[Pointer safety principle]]
[[References are also immutable by default]]

---

Borrowing from a variable temporarily removes its write and own permissions. Thus guaranteeing the safety principle.