]> Cypherpunks repositories - gostls13.git/commit
io/ioutil: add a comment on why devNull is a ReaderFrom
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 29 Sep 2011 22:35:01 +0000 (15:35 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 29 Sep 2011 22:35:01 +0000 (15:35 -0700)
commit51b09190ac65069b0248bdbc61d50c8026a42efd
tree0725626eebe3be9c97e687268d07f78504a2b8b5
parent807eb29f9fbfeb4eb6e0f4da4b56eea9b029aed4
io/ioutil: add a comment on why devNull is a ReaderFrom

... protects this optimization from future well-meaning
Gophers looking to delete unused code. :)

R=gri
CC=golang-dev
https://golang.org/cl/5165041
src/pkg/io/ioutil/ioutil.go