mirror of https://git.sr.ht/~garritfra/sabre
Garrit Franke
3 years ago
5 changed files with 8 additions and 19 deletions
@ -1,11 +1,9 @@ |
|||||||
fn main() { |
fn main() { |
||||||
let arr = [1, 2, 3] |
|
||||||
|
|
||||||
for x in arr { |
let arr = [[11, 12, 13], [21, 22, 23], [31, 32, 33]] |
||||||
if x == 2 { |
for i in arr { |
||||||
break |
for j in i { |
||||||
} else { |
println(j) |
||||||
println(x) |
|
||||||
} |
} |
||||||
} |
} |
||||||
} |
} |
Loading…
Reference in new issue