mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-05 17:53:30 +02:00
var to const when posssible
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
// @enumToInt(). We'll learn about builtins properly in a later
|
||||
// exercise.
|
||||
//
|
||||
// var my_stuff: u8 = @enumToInt(Stuff.foo);
|
||||
// const my_stuff: u8 = @enumToInt(Stuff.foo);
|
||||
//
|
||||
// Note how that built-in function starts with "@" just like the
|
||||
// @import() function we've been using.
|
||||
|
||||
Reference in New Issue
Block a user