From 123b936b40f6d23d71cb18685cfa75d2bc39cf5c Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Sun, 13 Oct 2024 16:09:02 -0400 Subject: [PATCH] Add comment Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> --- examples/arrays/strings.mbt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/arrays/strings.mbt b/examples/arrays/strings.mbt index c08bffa..4dbe568 100644 --- a/examples/arrays/strings.mbt +++ b/examples/arrays/strings.mbt @@ -4,6 +4,8 @@ pub fn process_strings(strings : Array[String]) -> Array[String] { strings.eachi( fn(index, value) { parts.push(value) + // strings[index] = parts.join("|") + // Yuck! https://github.com/moonbitlang/core/pull/993 strings[index] = String::concat(parts, separator="|") }, )