Skip to content

Commit 7398f36

Browse files
cuishuanggopherbot
authored andcommitted
all: fix some symbols error in comment
Change-Id: If4bd2e8cd8dded33d434f4b60217fa46fcf5e934 Reviewed-on: https://go-review.googlesource.com/c/tools/+/611796 Reviewed-by: Michael Matloob <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Run-TryBot: shuang cui <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Zvonimir Pavlinovic <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
1 parent f111c72 commit 7398f36

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

go/callgraph/vta/vta.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// license that can be found in the LICENSE file.
44

55
// Package vta computes the call graph of a Go program using the Variable
6-
// Type Analysis (VTA) algorithm originally described in Practical Virtual
6+
// Type Analysis (VTA) algorithm originally described in "Practical Virtual
77
// Method Call Resolution for Java," Vijay Sundaresan, Laurie Hendren,
88
// Chrislain Razafimahefa, Raja Vallée-Rai, Patrick Lam, Etienne Gagnon, and
99
// Charles Godin.

go/packages/external.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ type DriverResponse struct {
8282
type driver func(cfg *Config, patterns ...string) (*DriverResponse, error)
8383

8484
// findExternalDriver returns the file path of a tool that supplies
85-
// the build system package structure, or "" if not found."
85+
// the build system package structure, or "" if not found.
8686
// If GOPACKAGESDRIVER is set in the environment findExternalTool returns its
8787
// value, otherwise it searches for a binary named gopackagesdriver on the PATH.
8888
func findExternalDriver(cfg *Config) driver {

gopls/internal/vulncheck/vulntest/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func NewDatabase(ctx context.Context, txtarReports []byte) (*DB, error) {
5151

5252
// DB is a read-only vulnerability database on disk.
5353
// Users can use this database with golang.org/x/vuln APIs
54-
// by setting the `VULNDB environment variable.
54+
// by setting the `VULNDB` environment variable.
5555
type DB struct {
5656
disk string
5757
}

internal/tool/tool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
// (&Application{}).Main("myapp", "non-flag-command-line-arg-help", os.Args[1:])
3030
// }
3131
// It recursively scans the application object for fields with a tag containing
32-
// `flag:"flagnames" help:"short help text"``
32+
// `flag:"flagnames" help:"short help text"`
3333
// uses all those fields to build command line flags. It will split flagnames on
3434
// commas and add a flag per name.
3535
// It expects the Application type to have a method

0 commit comments

Comments
 (0)