aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug/stack.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/debug/stack.go')
-rw-r--r--src/runtime/debug/stack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/debug/stack.go b/src/runtime/debug/stack.go
index 5d810af540..3999840d3c 100644
--- a/src/runtime/debug/stack.go
+++ b/src/runtime/debug/stack.go
@@ -17,7 +17,7 @@ func PrintStack() {
}
// Stack returns a formatted stack trace of the goroutine that calls it.
-// It calls runtime.Stack with a large enough buffer to capture the entire trace.
+// It calls [runtime.Stack] with a large enough buffer to capture the entire trace.
func Stack() []byte {
buf := make([]byte, 1024)
for {