diff --git a/builtin/string.v b/builtin/string.v index ba3caf433e..441234ba73 100644 --- a/builtin/string.v +++ b/builtin/string.v @@ -584,7 +584,7 @@ fn compare_strings_by_len(a, b *string) int { fn compare_lower_strings(a, b *string) int { aa := a.to_lower() - bb := a.to_lower() + bb := b.to_lower() return compare_strings(aa, bb) }