mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
builtin: fix minor typo in join_lines description (#23984)
This commit is contained in:
parent
86bb2d72ea
commit
ff43cd5a20
1 changed files with 1 additions and 1 deletions
|
@ -2382,7 +2382,7 @@ pub fn (a []string) join(sep string) string {
|
||||||
return res
|
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]
|
@[inline]
|
||||||
pub fn (s []string) join_lines() string {
|
pub fn (s []string) join_lines() string {
|
||||||
return s.join('\n')
|
return s.join('\n')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue