summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2023-03-30 23:22:09 +0200
committerGitHub <noreply@github.com>2023-03-30 23:22:09 +0200
commit5469a7b89f8d899b05470afd2b4241c4811e5428 (patch)
tree643ba4c7d88cbc9904c49962b99e4673ab5f0b9f /patches
parentaa01f6eea94e40e7e24e7ef20d109139acf0c7d1 (diff)
parentb16cd86906ad56d945243bbc335d74cf6041425f (diff)
Merge pull request #208 from chrboesch/issue_140
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;