We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
is_module_readme
1 parent 8c1ead5 commit cf00017Copy full SHA for cf00017
cmd/tools/vdoc/utils.v
@@ -30,10 +30,7 @@ fn get_node_id(dn doc.DocNode) string {
30
}
31
32
fn is_module_readme(dn doc.DocNode) bool {
33
- if dn.comments.len > 0 && dn.content == 'module ${dn.name}' {
34
- return true
35
- }
36
- return false
+ return dn.comments.len > 0 && dn.content == 'module ${dn.name}'
37
38
39
fn trim_doc_node_description(description string) string {
0 commit comments