summaryrefslogtreecommitdiff
path: root/Rust.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-08-04 08:46:49 +0200
committerJasper Ras <jras@hostnet.nl>2025-08-04 08:46:49 +0200
commit00a52e3d631df0a7610f4f17a9bd6d60205239fd (patch)
tree99aac9c4c78c2ec693d7800a946fd6da7a0ea597 /Rust.md
parent931eb0894e7cd3717f1218f0eb06382b11734c13 (diff)
vault backup: 2025-08-04 08:46:49
Diffstat (limited to 'Rust.md')
-rw-r--r--Rust.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/Rust.md b/Rust.md
index 1733c8f..39825ee 100644
--- a/Rust.md
+++ b/Rust.md
@@ -15,3 +15,11 @@
[[Primitive values such as the array are allocated on the stack]]
[[Arrays are useful when you know the length will not change]]
[[Array notation]]
+[[A scope block is an expression]]
+[[Adding a semicolon to the end of a line turns it into a statement]]
+[[How to return from a function]]
+[[Statement vs expression]]
+[[There is no truthiness]]
+[[If is not a statement but an expression]]
+[[Returning values from loops]]
+[[Loop over an array with for-in]]