control flow, primitive types and vectors

This commit is contained in:
2026-01-13 04:19:05 +00:00
parent 505ab3b606
commit 2cd1c84285
19 changed files with 50 additions and 28 deletions

View File

@@ -4,10 +4,13 @@ fn bigger(a: i32, b: i32) -> i32 {
// Do not use:
// - another function call
// - additional variables
if a > b { a } else { b }
}
fn main() {
// You can optionally experiment here.
println!("{}", bigger(32, 42));
}
// Don't mind this for now :)