mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-04 09:23:29 +02:00
var to const when posssible
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// What's really nice is that you can use a switch statement as an
|
||||
// expression to return a value.
|
||||
//
|
||||
// var a = switch (x) {
|
||||
// const a = switch (x) {
|
||||
// 1 => 9,
|
||||
// 2 => 16,
|
||||
// 3 => 7,
|
||||
|
||||
Reference in New Issue
Block a user