Skip to content

Commit e92be18

Browse files
rhcarvalhorandall77
authored andcommitted
runtime: fix typo in FuncForPC doc
Change-Id: I04037e13b131e79ebc5af84896bfeda49ddc0eaa GitHub-Last-Rev: b0d0de9 GitHub-Pull-Request: #39500 Reviewed-on: https://go-review.googlesource.com/c/go/+/237220 Reviewed-by: Keith Randall <[email protected]>
1 parent ac743de commit e92be18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/symtab.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,8 @@ func moduledataverify1(datap *moduledata) {
563563
// given program counter address, or else nil.
564564
//
565565
// If pc represents multiple functions because of inlining, it returns
566-
// the a *Func describing the innermost function, but with an entry
567-
// of the outermost function.
566+
// the *Func describing the innermost function, but with an entry of
567+
// the outermost function.
568568
func FuncForPC(pc uintptr) *Func {
569569
f := findfunc(pc)
570570
if !f.valid() {

0 commit comments

Comments
 (0)