Skip to content

Commit

Permalink
Remove expaned for syntax on loop example
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Apr 18, 2024
1 parent 6f23c31 commit c8e56c1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/for_loop.con
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ mod Example {
let mut result: i64 = 0;

let n: i64 = 1;
for (;;) {
result = result + n;
n = n + 1;
}

for {
result = result + n;
n = n + 1;
Expand Down

0 comments on commit c8e56c1

Please sign in to comment.