var to const when posssible

This commit is contained in:
lording
2023-06-22 09:41:41 +00:00
parent f09a87c348
commit d2d3dfa277
16 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -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;