]> Cypherpunks repositories - gostls13.git/commit
reflect.DeepEqual: document that empty and nil are unequal for slices
authorRob Pike <r@golang.org>
Wed, 26 Sep 2012 05:21:07 +0000 (15:21 +1000)
committerRob Pike <r@golang.org>
Wed, 26 Sep 2012 05:21:07 +0000 (15:21 +1000)
commit74a7cc9bf2fcf034c5de92b9217e7fab51880e73
treebb2756d9c000054528abda6b69ef656e702df0ba
parent1785bfca6b0bbf84c44b438968f328c02aeee73d
reflect.DeepEqual: document that empty and nil are unequal for slices

Update #4133.
Added a sentence of documentation to call out the behavior.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6572051
src/pkg/reflect/deepequal.go