unused consts now errors
This commit is contained in:
parent
584993b7b8
commit
680e2913f7
3 changed files with 10 additions and 15 deletions
|
|
@ -1,2 +1,2 @@
|
|||
36a37
|
||||
35a36
|
||||
> MyNumberError.TooSmall => std.debug.print("<4. ", .{}),
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
95c95
|
||||
90c90
|
||||
< const print = ???;
|
||||
---
|
||||
> const print = std.debug.print;
|
||||
160c160
|
||||
155c155
|
||||
< levelUp(glorp, reward_xp);
|
||||
---
|
||||
> levelUp(&glorp, reward_xp);
|
||||
166c166
|
||||
161c161
|
||||
< fn levelUp(character_access: Character, xp: u32) void {
|
||||
---
|
||||
> fn levelUp(character_access: *Character, xp: u32) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue