Skip to content

Commit

Permalink
Fix CheckFieldDocMissing doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jparise committed Feb 21, 2024
1 parent d988c8a commit 41e9264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func CheckFieldRequiredness() *thriftcheck.Check {
})
}

// CheckFieldDocMissing if a field is missing a documentation comment.
// CheckFieldDocMissing warns if a field is missing a documentation comment.
func CheckFieldDocMissing() *thriftcheck.Check {
return thriftcheck.NewCheck("field.doc.missing", func(c *thriftcheck.C, f *ast.Field) {
if f.Doc == "" {
Expand Down

0 comments on commit 41e9264

Please sign in to comment.