From: Ian Lance Taylor Date: Fri, 9 Feb 2024 22:11:39 +0000 (-0800) Subject: debug/elf: remove incorrect doc link X-Git-Tag: go1.23rc1~543 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=08e73e61521d7b83198407211aa232ed4f572f18;p=gostls13.git 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 Commit-Queue: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Austin Clements Auto-Submit: Ian Lance Taylor --- 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