From 3925a7c5dbde952a94fc4c46686d78bb1ff71ed8 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Mon, 18 May 2015 15:50:00 -0400 Subject: 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 Reviewed-by: Russ Cox --- src/runtime/debug/stack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/debug/stack.go') 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() } -- cgit v1.3