From e92be18fd8b525b642ca25bdb3e2056b35d9d73c Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Wed, 10 Jun 2020 13:30:42 +0000 Subject: runtime: fix typo in FuncForPC doc Change-Id: I04037e13b131e79ebc5af84896bfeda49ddc0eaa GitHub-Last-Rev: b0d0de930862e4f163e158876cba70d81ed2d52e GitHub-Pull-Request: golang/go#39500 Reviewed-on: https://go-review.googlesource.com/c/go/+/237220 Reviewed-by: Keith Randall --- src/runtime/symtab.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/symtab.go b/src/runtime/symtab.go index ce2ec6dd1d..1e86662adc 100644 --- a/src/runtime/symtab.go +++ b/src/runtime/symtab.go @@ -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() { -- cgit v1.2.3-54-g00ecf