aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2015-05-18 15:50:00 -0400
committerMinux Ma <minux@golang.org>2015-06-18 19:16:23 +0000
commit3925a7c5dbde952a94fc4c46686d78bb1ff71ed8 (patch)
tree0e187638406044a61b3027e148b48c83399565ca /src/runtime/debug
parent526b5017133f193b8f82912936288f1ea767ffca (diff)
downloadgo-3925a7c5dbde952a94fc4c46686d78bb1ff71ed8.tar.gz
go-3925a7c5dbde952a94fc4c46686d78bb1ff71ed8.zip
all: switch to the new deprecation convention
While we're at it, move some misplaced comment blocks around. Change-Id: I1847d7f1ca1dbb8e5de737203c4ed6c66e112508 Reviewed-on: https://go-review.googlesource.com/10188 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime/debug')
-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 c29b0a226a..ab12bffa6e 100644
--- a/src/runtime/debug/stack.go
+++ b/src/runtime/debug/stack.go
@@ -31,7 +31,7 @@ func PrintStack() {
// then attempts to discover, for Go functions, the calling function or
// method and the text of the line containing the invocation.
//
-// This function is deprecated. Use package runtime's Stack instead.
+// Deprecated: Use package runtime's Stack instead.
func Stack() []byte {
return stack()
}