aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2024-02-09 14:11:39 -0800
committerGopher Robot <gobot@golang.org>2024-04-23 16:49:58 +0000
commit08e73e61521d7b83198407211aa232ed4f572f18 (patch)
treedf9fa4f22aa1c325b0fc08b6035c4d9786e9e53d
parent8d880da1c42d0bc81e9e350df4f3fc4238c79873 (diff)
downloadgo-08e73e61521d7b83198407211aa232ed4f572f18.tar.gz
go-08e73e61521d7b83198407211aa232ed4f572f18.zip
debug/elf: remove incorrect doc link
Here Version is a field in Symbol, not the elf.Version type. Change-Id: I0285937d806d1a9b53b49420b45a07744be244c2 Reviewed-on: https://go-review.googlesource.com/c/go/+/563095 Reviewed-by: Ian Lance Taylor <iant@google.com> Commit-Queue: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Austin Clements <austin@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
-rw-r--r--src/debug/elf/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/elf/file.go b/src/debug/elf/file.go
index 6b4de0c56e..398439dcce 100644
--- a/src/debug/elf/file.go
+++ b/src/debug/elf/file.go
@@ -1434,7 +1434,7 @@ func (f *File) Symbols() ([]Symbol, error) {
// will be listed in the order they appear in f.
//
// If f has a symbol version table, the returned [File.Symbols] will have
-// initialized [Version] and Library fields.
+// initialized Version and Library fields.
//
// For compatibility with [File.Symbols], [File.DynamicSymbols] omits the null symbol at index 0.
// After retrieving the symbols as symtab, an externally supplied index x