]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix typo in FuncForPC doc go1.15beta1
authorRodolfo Carvalho <rhcarvalho@gmail.com>
Wed, 10 Jun 2020 13:30:42 +0000 (13:30 +0000)
committerKeith Randall <khr@golang.org>
Wed, 10 Jun 2020 14:56:01 +0000 (14:56 +0000)
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>
src/runtime/symtab.go

index ce2ec6dd1db0cd54776e8d78c64b657b5cb226dd..1e86662adc2c8789368e51fef83d13918e955d88 100644 (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() {