From fddc598370255d64165cea947a59df5e7123f435 Mon Sep 17 00:00:00 2001 From: Heschi Kreinick Date: Fri, 16 Jun 2017 16:01:02 -0400 Subject: [PATCH] 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 --- doc/go1.9.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.

-- 2.50.0