]> Cypherpunks repositories - gostls13.git/commitdiff
time: fix typo in doc
authorRoss Chater <rdchater@gmail.com>
Sun, 19 Nov 2017 02:45:08 +0000 (02:45 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 19 Nov 2017 03:17:25 +0000 (03:17 +0000)
Change-Id: I44bd5fa14ac6c4367927ae312e03ede06fcc7bb9
Reviewed-on: https://go-review.googlesource.com/78675
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/time/time.go

index 46c61371b07ceb30b158959ec8cb59af9bc57a2b..93909682f5102fca37c8d4a0ed67c95a83b82978 100644 (file)
@@ -722,7 +722,7 @@ func (d Duration) String() string {
 }
 
 // fmtFrac formats the fraction of v/10**prec (e.g., ".12345") into the
-// tail of buf, omitting trailing zeros. it omits the decimal
+// tail of buf, omitting trailing zeros. It omits the decimal
 // point too when the fraction is 0. It returns the index where the
 // output bytes begin and the value v/10**prec.
 func fmtFrac(buf []byte, v uint64, prec int) (nw int, nv uint64) {