Var definition without type

This commit is contained in:
2026-05-05 18:11:17 +02:00
parent 6aa851fcf9
commit a8b6ff4789
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
void main() {
Vec<i32> iter = vec!(1, 2, 3, 4, 5);
var iter = vec!(1, 2, 3, 4, 5);
for (i in iter) {
println!("{i}");