aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorDave Gauer <[email protected]>2021-06-30 19:00:50 -0400
committerDave Gauer <[email protected]>2021-06-30 19:00:50 -0400
commit843fd658828d3f18cf57892dd3045ec9979ecb4f (patch)
treec07f748335ac0644fc2a1eb9d12a1a0426d50a51 /patches
parenta84677d7987e60d61b56d0edf69cbcd7ce0af5dc (diff)
downloadziglings-843fd658828d3f18cf57892dd3045ec9979ecb4f.tar.xz
ziglings-843fd658828d3f18cf57892dd3045ec9979ecb4f.zip
unused consts now errors
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/033_iferror.patch2
-rw-r--r--patches/patches/051_values.patch6
2 files changed, 4 insertions, 4 deletions
diff --git a/patches/patches/033_iferror.patch b/patches/patches/033_iferror.patch
index 62904db..a1db7b8 100644
--- a/patches/patches/033_iferror.patch
+++ b/patches/patches/033_iferror.patch
@@ -1,2 +1,2 @@
-36a37
+35a36
> MyNumberError.TooSmall => std.debug.print("<4. ", .{}),
diff --git a/patches/patches/051_values.patch b/patches/patches/051_values.patch
index 6d3c53b..03dfc88 100644
--- a/patches/patches/051_values.patch
+++ b/patches/patches/051_values.patch
@@ -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 {