From 7d4a4ffc8362e5e5ceef01d5a1251e4116ed124d Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Thu, 16 Apr 2020 16:24:38 +0100 Subject: Remove extra string --- src/gleam/string.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gleam/string.gleam b/src/gleam/string.gleam index b278c25..880ee6a 100644 --- a/src/gleam/string.gleam +++ b/src/gleam/string.gleam @@ -229,7 +229,7 @@ fn repeat_help(chunk: String, result: List(String), repeats: Int) -> String { } pub fn repeat(string: String, times times: Int) -> String { - repeat_help(string, [""], times) + repeat_help(string, [], times) } /// Join many strings together with a given separator. -- cgit v1.2.3