From 680e2913f7dc6b6b242e74fd99472b24d57ea3ae Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Wed, 30 Jun 2021 19:00:50 -0400 Subject: unused consts now errors --- patches/patches/033_iferror.patch | 2 +- patches/patches/051_values.patch | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'patches') 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 { -- cgit v1.2.3-ZIG