doc: fix description of Duration.Round

Round doesn't always round away from zero.

Feel free to suggest better wording.

Change-Id: I52b3815013fff4c656ae8d861521c342bc4135b7
Reviewed-on: https://go-review.googlesource.com/46032
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Heschi Kreinick 2017-06-16 16:01:02 -04:00
parent 8d75558b76
commit fddc598370
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@ CL 40331: https://golang.org/cl/40331: cmd/link,runtime/cgo: enable PT_TLS gener
<a href="/pkg/time/#Duration.Round"><code>Duration.Round</code></a>
and
<a href="/pkg/time/#Duration.Truncate"><code>Duration.Truncate</code></a>
handle rounding durations away from and towards zero, respectively.
handle rounding and truncating durations to multiples of a given duration.
</p>
<p><!-- CL 35710 -->