From 6663730c1ebad552ae3241dbffb131bb64d41ebf Mon Sep 17 00:00:00 2001 From: Apis035 <53115851+Apis035@users.noreply.github.com> Date: Sun, 12 May 2024 16:44:46 +0700 Subject: [PATCH] Fix string ownership in Loop Labels example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 89e7bcbe..6963c594 100644 --- a/README.md +++ b/README.md @@ -285,7 +285,7 @@ func makeNumericSkewer String { } } - return skewer + return skewer.commit() } func makeAlphabetSkewer String { @@ -303,7 +303,7 @@ func makeAlphabetSkewer String { skewer.append("-") } - return skewer + return skewer.commit() } ```