mirror of
https://github.com/golang/go
synced 2024-11-18 03:44:46 -07:00
runtime: fix typo in FuncForPC doc
This commit is contained in:
parent
2a4e71c752
commit
b0d0de9308
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user