rustlings vec primitive types

This commit is contained in:
2026-06-12 12:05:51 +02:00
parent 7b26706218
commit 85c0fb50cb
215 changed files with 4435 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
fn main() {
// TODO: Change the line below to fix the compiler error.
let x: i32 = 10;
if x == 10 {
println!("x is ten!");
} else {
println!("x is not ten!");
}
}