unused consts now errors
parent
a84677d798
commit
843fd65882
@ -1,2 +1,2 @@
|
|||||||
36a37
|
35a36
|
||||||
> MyNumberError.TooSmall => std.debug.print("<4. ", .{}),
|
> MyNumberError.TooSmall => std.debug.print("<4. ", .{}),
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
95c95
|
90c90
|
||||||
< const print = ???;
|
< const print = ???;
|
||||||
---
|
---
|
||||||
> const print = std.debug.print;
|
> const print = std.debug.print;
|
||||||
160c160
|
155c155
|
||||||
< levelUp(glorp, reward_xp);
|
< levelUp(glorp, reward_xp);
|
||||||
---
|
---
|
||||||
> 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 {
|
||||||
---
|
---
|
||||||
> fn levelUp(character_access: *Character, xp: u32) void {
|
> fn levelUp(character_access: *Character, xp: u32) void {
|
||||||
|
Loading…
Reference in New Issue