From: Ross Chater Date: Sun, 19 Nov 2017 02:45:08 +0000 (+0000) Subject: time: fix typo in doc X-Git-Tag: go1.10beta1~199 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=50181df8ff680ed8a31290b71b7e8541123660f1;p=gostls13.git time: fix typo in doc Change-Id: I44bd5fa14ac6c4367927ae312e03ede06fcc7bb9 Reviewed-on: https://go-review.googlesource.com/78675 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/time/time.go b/src/time/time.go index 46c61371b0..93909682f5 100644 --- a/src/time/time.go +++ b/src/time/time.go @@ -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) {