summaryrefslogtreecommitdiff
path: root/Borrow checker.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-08-05 08:53:21 +0200
committerJasper Ras <jras@hostnet.nl>2025-08-05 08:53:21 +0200
commit295b343aecf330e830d79f06e0efc511e7d76da1 (patch)
tree85057ef1fe401adcd0d958ddf6ff966f25d8fef0 /Borrow checker.md
parentf43372529e655f3b039946c969e4465193eb2042 (diff)
vault backup: 2025-08-05 08:53:21
Diffstat (limited to 'Borrow checker.md')
-rw-r--r--Borrow checker.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/Borrow checker.md b/Borrow checker.md
new file mode 100644
index 0000000..09700ba
--- /dev/null
+++ b/Borrow checker.md
@@ -0,0 +1,8 @@
+[[Rust]]
+[[Ownership]]
+[[Dereferencing is to access the data behind a pointer]]
+[[Aliasing is accessing the same data through different variables]]
+[[Variables are subject to permissions similar to files on linux]]
+[[References temporarily remove permissions]]
+[[Creating a reference to a variable is called borrowing]]
+[[It is illegal to create a mutable reference while an immutable reference is live]]