aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <[email protected]>2023-03-30 23:11:40 +0200
committerChris Boesch <[email protected]>2023-03-30 23:11:40 +0200
commitb16cd86906ad56d945243bbc335d74cf6041425f (patch)
tree643ba4c7d88cbc9904c49962b99e4673ab5f0b9f /patches
parentaa01f6eea94e40e7e24e7ef20d109139acf0c7d1 (diff)
downloadziglings-b16cd86906ad56d945243bbc335d74cf6041425f.tar.xz
ziglings-b16cd86906ad56d945243bbc335d74cf6041425f.zip
function made more elegant
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/048_methods2.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/patches/048_methods2.patch b/patches/patches/048_methods2.patch
index 781a99e..cd1b5d0 100644
--- a/patches/patches/048_methods2.patch
+++ b/patches/patches/048_methods2.patch
@@ -1,4 +1,4 @@
57c57
-< e = e.???; // Which method do we want here?
+< e = if (e.hasTail()) e.??? else break;
---
-> e = e.getTail(); // Which method do we want here?
+> e = if (e.hasTail()) e.getTail() else break;