mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-06 10:13:29 +02:00
var to const when posssible
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
13c13
|
||||
< var price: u8 = if ???;
|
||||
< const price: u8 = if ???;
|
||||
---
|
||||
> var price: u8 = if (discount) 17 else 20;
|
||||
> const price: u8 = if (discount) 17 else 20;
|
||||
|
||||
Reference in New Issue
Block a user