From 00a52e3d631df0a7610f4f17a9bd6d60205239fd Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Mon, 4 Aug 2025 08:46:49 +0200 Subject: vault backup: 2025-08-04 08:46:49 --- Rust.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Rust.md') 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]] -- cgit v1.2.3