diff options
author | Andrew Gerrand <adg@golang.org> | 2012-04-26 11:45:54 -0700 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2012-04-26 11:45:54 -0700 |
commit | c7a1baf1f0be1a3401f4d642580a1bfd0b244d9e (patch) | |
tree | 53628ef9cbd17bcd8b7f1c431c4f0fdbc8230dae | |
parent | 19b11c49a977763c9c8636b7200409d980139b54 (diff) | |
download | go-c7a1baf1f0be1a3401f4d642580a1bfd0b244d9e.tar.gz go-c7a1baf1f0be1a3401f4d642580a1bfd0b244d9e.zip |
[release-branch.go1] time: doc fix.
««« CL 6127050 / 6d5417240a0c
time: doc fix.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6127050
»»»
R=golang-dev
CC=golang-dev
https://golang.org/cl/6118057
-rw-r--r-- | src/pkg/time/time.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, |