Skip to content

Commit

Permalink
all: fix some symbols error in comment
Browse files Browse the repository at this point in the history
Change-Id: If4bd2e8cd8dded33d434f4b60217fa46fcf5e934
Reviewed-on: https://go-review.googlesource.com/c/tools/+/611796
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
  • Loading branch information
cuishuang authored and gopherbot committed Sep 9, 2024
1 parent f111c72 commit 7398f36
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go/callgraph/vta/vta.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.

// Package vta computes the call graph of a Go program using the Variable
// Type Analysis (VTA) algorithm originally described in Practical Virtual
// Type Analysis (VTA) algorithm originally described in "Practical Virtual
// Method Call Resolution for Java," Vijay Sundaresan, Laurie Hendren,
// Chrislain Razafimahefa, Raja Vallée-Rai, Patrick Lam, Etienne Gagnon, and
// Charles Godin.
Expand Down
2 changes: 1 addition & 1 deletion go/packages/external.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type DriverResponse struct {
type driver func(cfg *Config, patterns ...string) (*DriverResponse, error)

// findExternalDriver returns the file path of a tool that supplies
// the build system package structure, or "" if not found."
// the build system package structure, or "" if not found.
// If GOPACKAGESDRIVER is set in the environment findExternalTool returns its
// value, otherwise it searches for a binary named gopackagesdriver on the PATH.
func findExternalDriver(cfg *Config) driver {
Expand Down
2 changes: 1 addition & 1 deletion gopls/internal/vulncheck/vulntest/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewDatabase(ctx context.Context, txtarReports []byte) (*DB, error) {

// DB is a read-only vulnerability database on disk.
// Users can use this database with golang.org/x/vuln APIs
// by setting the `VULNDB environment variable.
// by setting the `VULNDB` environment variable.
type DB struct {
disk string
}
Expand Down
2 changes: 1 addition & 1 deletion internal/tool/tool.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
// (&Application{}).Main("myapp", "non-flag-command-line-arg-help", os.Args[1:])
// }
// It recursively scans the application object for fields with a tag containing
// `flag:"flagnames" help:"short help text"``
// `flag:"flagnames" help:"short help text"`
// uses all those fields to build command line flags. It will split flagnames on
// commas and add a flag per name.
// It expects the Application type to have a method
Expand Down

0 comments on commit 7398f36

Please sign in to comment.