From: Heschi Kreinick
Date: Fri, 16 Jun 2017 20:01:02 +0000 (-0400)
Subject: doc: fix description of Duration.Round
X-Git-Tag: go1.9beta2~56
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fddc598370255d64165cea947a59df5e7123f435;p=gostls13.git
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
---
diff --git a/doc/go1.9.html b/doc/go1.9.html
index 3e7f1477c9..5c877bc4c9 100644
--- a/doc/go1.9.html
+++ b/doc/go1.9.html
@@ -798,7 +798,7 @@ CL 40331: https://golang.org/cl/40331: cmd/link,runtime/cgo: enable PT_TLS gener
Duration.Round
and
Duration.Truncate
- handle rounding durations away from and towards zero, respectively.
+ handle rounding and truncating durations to multiples of a given duration.