builtin: fix minor typo in join_lines description (#23984)

This commit is contained in:
Kim Shrier 2025-03-20 05:32:34 -06:00 committed by GitHub
parent 86bb2d72ea
commit ff43cd5a20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2382,7 +2382,7 @@ pub fn (a []string) join(sep string) string {
return res
}
// join joins a string array into a string using a `\n` newline delimiter.
// join_lines joins a string array into a string using a `\n` newline delimiter.
@[inline]
pub fn (s []string) join_lines() string {
return s.join('\n')