aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2020-06-10 13:30:42 +0000
committerKeith Randall <khr@golang.org>2020-06-10 14:56:01 +0000
commite92be18fd8b525b642ca25bdb3e2056b35d9d73c (patch)
treeb1bfefa33b95f8c52302805829f5a1cb90dd76cc
parentac743dea8e7d351d48a79bf4e7aea62ba3b4a515 (diff)
downloadgo-e92be18fd8b525b642ca25bdb3e2056b35d9d73c.tar.gz
go-e92be18fd8b525b642ca25bdb3e2056b35d9d73c.zip
runtime: fix typo in FuncForPC docgo1.15beta1
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 <khr@golang.org>
-rw-r--r--src/runtime/symtab.go4
1 files 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() {