]> Cypherpunks repositories - gostls13.git/commitdiff
time: doc fix.
authorDavid Symonds <dsymonds@golang.org>
Thu, 26 Apr 2012 01:28:35 +0000 (11:28 +1000)
committerDavid Symonds <dsymonds@golang.org>
Thu, 26 Apr 2012 01:28:35 +0000 (11:28 +1000)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6127050

src/pkg/time/time.go

index f556166fe6c76e07505c633ac08b1e5f074806e5..2461dac06f5cf2cf53ea60f2fbce176ecb36d1ca 100644 (file)
@@ -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,