commit | 6eb3de266b029de0d1382bfbe3790a670a630ad1 | [log] [tgz] |
---|---|---|
author | Nooras Saba <noorassaba@google.com> | Wed May 11 10:56:10 2022 -0400 |
committer | Nooras Saba <saba@golang.org> | Wed May 11 23:42:05 2022 +0000 |
tree | 603b637448b1a4174d92ea9982c40a72a9e420ac | |
parent | 728485ffcbd3e81e24539b97097e4d87479102d9 [diff] |
internal/lsp/analysis: fix a doc comment typo Fixes the grammar Updates #50262 Change-Id: I8bc524b26d6cbeda3e626d0e83601529cbf7ff6e Reviewed-on: https://go-review.googlesource.com/c/tools/+/405540 Reviewed-by: Robert Findley <rfindley@google.com>
diff --git a/internal/lsp/analysis/embeddirective/embeddirective.go b/internal/lsp/analysis/embeddirective/embeddirective.go index c925d8e..1b504f7 100644 --- a/internal/lsp/analysis/embeddirective/embeddirective.go +++ b/internal/lsp/analysis/embeddirective/embeddirective.go
@@ -35,7 +35,7 @@ return nil, nil } -// Check if comment contains //go:embed directive. +// Check if the comment contains //go:embed directive. func hasEmbedDirectiveComment(f *ast.File) *ast.Comment { for _, cg := range f.Comments { for _, c := range cg.List {