mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: new tool to extracts function names declared in V files
This commit is contained in:

committed by
Alexander Medvednikov

parent
cd8b0d04bb
commit
eef73eea22
@ -141,7 +141,7 @@ pub fn (s array) left(n int) array {
|
||||
|
||||
pub fn (s array) right(n int) array {
|
||||
if n >= s.len {
|
||||
return s
|
||||
return new_array(0, 0, s.element_size)
|
||||
}
|
||||
return s.slice(n, s.len)
|
||||
}
|
||||
|
Reference in New Issue
Block a user