1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:14:47 -07:00

runtime: fix typo in comment

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5511047
This commit is contained in:
Robert Griesemer 2012-01-04 14:06:54 -08:00
parent d5e6b8d016
commit 3f1eb94ef2

View File

@ -19,8 +19,8 @@ func Gosched()
func Goexit()
// Caller reports file and line number information about function invocations on
// the calling goroutine's stack. The argument skip is the number of stack frames to
// ascend, with 0 identifying the the caller of Caller. The return values report the
// the calling goroutine's stack. The argument skip is the number of stack frames
// to ascend, with 0 identifying the caller of Caller. The return values report the
// program counter, file name, and line number within the file of the corresponding
// call. The boolean ok is false if it was not possible to recover the information.
func Caller(skip int) (pc uintptr, file string, line int, ok bool)