From 7b39ab6d06c9e111f8359297b6190555d47e687c Mon Sep 17 00:00:00 2001 From: Larpon Date: Sun, 26 Apr 2020 12:40:39 +0200 Subject: [PATCH] string: fix replace_each edge case error message --- vlib/builtin/string.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/string.v b/vlib/builtin/string.v index 0a164ecacf..bb76ed38a9 100644 --- a/vlib/builtin/string.v +++ b/vlib/builtin/string.v @@ -223,7 +223,7 @@ pub fn (s string) replace_each(vals []string) string { return s } if vals.len % 2 != 0 { - println('string.replace_many(): odd number of strings') + println('string.replace_each(): odd number of strings') return s } // `rep` - string to replace