var to const when posssible

This commit is contained in:
lording 2023-06-22 09:41:41 +00:00
parent 1b1d6b020b
commit 533c8e217d
16 changed files with 27 additions and 27 deletions

View file

@ -13,7 +13,7 @@ const std = import standard library;
function main() void {
var i: u8 = 1;
var stop_at: u8 = 16;
const stop_at: u8 = 16;
// What kind of loop is this? A 'for' or a 'while'?
??? (i <= stop_at) : (i += 1) {