1
0
mirror of https://github.com/golang/go synced 2024-11-18 03:44:46 -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.
//
// If pc represents multiple functions because of inlining, it returns
// the a *Func describing the innermost function, but with an entry
// of the outermost function.
// the *Func describing the innermost function, but with an entry of
// the outermost function.
func FuncForPC(pc uintptr) *Func {
f := findfunc(pc)
if !f.valid() {