var to const when posssible
This commit is contained in:
parent
1b1d6b020b
commit
533c8e217d
16 changed files with 27 additions and 27 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue