Skip to content

Commit

Permalink
runtime: fix typo in FuncForPC doc
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
rhcarvalho authored and randall77 committed Jun 10, 2020
1 parent ac743de commit e92be18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/symtab.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e92be18

Please sign in to comment.