mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: document all functions in string.v (#7273)
This commit is contained in:
@ -63,10 +63,7 @@ fn report_undocumented_functions_in_path(opt Options, path string) {
|
||||
if !line_above.starts_with('//') {
|
||||
mut tags := []string{}
|
||||
mut grab := true
|
||||
if line_above.starts_with('[') { // One or more tags
|
||||
tags << collect_tags(line_above)
|
||||
}
|
||||
for j := i - 2; j >= 0; j-- {
|
||||
for j := i - 1; j >= 0; j-- {
|
||||
prev_line := lines[j]
|
||||
if prev_line.contains('}') { // We've looked back to the above scope, stop here
|
||||
break
|
||||
|
Reference in New Issue
Block a user