From: David Symonds Date: Thu, 26 Apr 2012 01:28:35 +0000 (+1000) Subject: time: doc fix. X-Git-Tag: go1.1rc2~3308 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=555ca36c1d03c0cafa65dcc71a5b7a757e92c602;p=gostls13.git time: doc fix. R=golang-dev, r CC=golang-dev https://golang.org/cl/6127050 --- diff --git a/src/pkg/time/time.go b/src/pkg/time/time.go index f556166fe6..2461dac06f 100644 --- a/src/pkg/time/time.go +++ b/src/pkg/time/time.go @@ -403,7 +403,7 @@ const ( Hour = 60 * Minute ) -// Duration returns a string representing the duration in the form "72h3m0.5s". +// String returns a string representing the duration in the form "72h3m0.5s". // Leading zero units are omitted. As a special case, durations less than one // second format use a smaller unit (milli-, micro-, or nanoseconds) to ensure // that the leading digit is non-zero. The zero duration formats as 0,