Remove [de/in]crement operator (for now)

This commit is contained in:
mars 2022-03-02 13:18:13 -07:00
parent 7a1df3f58d
commit 0604818b0e
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ World mut fn set_next(i32 i, i32 j) {
if neighbors != 3 {
0
} else {
numdots++;
numdots = numdots + 1;
1
}
} else {
@ -21,7 +21,7 @@ World mut fn set_next(i32 i, i32 j) {
if neighbors == 2 or neighbors == 3 {
1
} else {
numdots--;
numdots = numdots - 1;
0
}
};