aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/modload/build.go
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2019-01-15 18:29:15 +0000
committerDaniel Martí <mvdan@mvdan.cc>2019-01-15 19:37:52 +0000
commit55715c1738adc0a9b6a7037390a700763365e284 (patch)
tree715613d4219209144093cc9a08ae92322f3ab897 /src/cmd/go/internal/modload/build.go
parent76e8ca447c6d48cadf4c355112e5c6bd60b9a2e8 (diff)
downloadgo-55715c1738adc0a9b6a7037390a700763365e284.tar.gz
go-55715c1738adc0a9b6a7037390a700763365e284.zip
cmd/go: fix wording issue in comment
golang.org/cl/157097 modified this comment, but left a trailing comma. While at it, make the sentence a bit clearer. Change-Id: I376dda4fd18ddbcae4485dd660a79b9f66ad6da4 Reviewed-on: https://go-review.googlesource.com/c/158037 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/go/internal/modload/build.go')
-rw-r--r--src/cmd/go/internal/modload/build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/internal/modload/build.go b/src/cmd/go/internal/modload/build.go
index 70740aeacd..10bea15fa3 100644
--- a/src/cmd/go/internal/modload/build.go
+++ b/src/cmd/go/internal/modload/build.go
@@ -252,7 +252,7 @@ func findModule(target, path string) module.Version {
func ModInfoProg(info string) []byte {
// Inject a variable with the debug information as runtime/debug.modinfo,
// but compile it in package main so that it is specific to the binary.
- // No need to populate in an init func, it will still work with go:linkname,
+ // No need to populate it in an init func; it will still work with go:linkname.
return []byte(fmt.Sprintf(`package main
import _ "unsafe"
//go:linkname __debug_modinfo__ runtime/debug.modinfo