aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/string.gleam2
1 files changed, 1 insertions, 1 deletions
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.