]> Cypherpunks repositories - gostls13.git/commit
time: clarify Equal docs
authorIan Lance Taylor <iant@golang.org>
Fri, 28 Oct 2016 22:25:31 +0000 (18:25 -0400)
committerIan Lance Taylor <iant@golang.org>
Fri, 28 Oct 2016 22:31:09 +0000 (22:31 +0000)
commit023556c07166be15a914d1f828d8c7b20a59a804
treed11907a4b867b99354a3bd7dfd1cdd77daa39deb
parent9575c580648d20ded1b538d6e05a3032fff2aaed
time: clarify Equal docs

The docs used to imply that using == would compare Locations, but of
course it just compares Location pointers, which will have unpredictable
results depending on how the pointers are loaded.

Change-Id: I783c1309e476a9616a1c1c290eac713aba3b0b57
Reviewed-on: https://go-review.googlesource.com/32332
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/time/time.go