diff options
| author | Dmitri Shuralyov <shurcooL@gmail.com> | 2017-08-17 19:30:34 -0400 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-08-29 17:16:15 +0000 |
| commit | b79337212585a473238a37421cefa9931b2fca4c (patch) | |
| tree | 5852352a51009b9519f4c8086eeb6bd0e2aca95b /src/encoding/gob/decoder.go | |
| parent | f2c0531795462c0b49dea4f849af18087a5c1077 (diff) | |
| download | go-b79337212585a473238a37421cefa9931b2fca4c.tar.xz | |
time: fix documentation of Round, Truncate behavior for d <= 0
Saying that they return t unchanged is misleading, because they return
a modified t, stripped of any monotonic clock reading, as of Go 1.9.
Fixes #21485.
Change-Id: Icddf8813aed3d687fcefcd2fe542829438be6a0a
Reviewed-on: https://go-review.googlesource.com/56690
Reviewed-by: Avelino <t@avelino.xxx>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding/gob/decoder.go')
0 files changed, 0 insertions, 0 deletions
