summaryrefslogtreecommitdiff
path: root/Borrow checker.md
diff options
context:
space:
mode:
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]]