1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:34:44 -07:00

runtime: fix typo in FuncForPC doc

This commit is contained in:
Rodolfo Carvalho 2020-06-10 15:19:44 +02:00 committed by GitHub
parent 2a4e71c752
commit b0d0de9308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -563,8 +563,8 @@ func moduledataverify1(datap *moduledata) {
// given program counter address, or else nil. // given program counter address, or else nil.
// //
// If pc represents multiple functions because of inlining, it returns // If pc represents multiple functions because of inlining, it returns
// the a *Func describing the innermost function, but with an entry // the *Func describing the innermost function, but with an entry of
// of the outermost function. // the outermost function.
func FuncForPC(pc uintptr) *Func { func FuncForPC(pc uintptr) *Func {
f := findfunc(pc) f := findfunc(pc)
if !f.valid() { if !f.valid() {