]> Cypherpunks repositories - gostls13.git/commit
reverse the arguments to io.Copy so the destination is on the
authorRob Pike <r@golang.org>
Mon, 2 Nov 2009 04:59:49 +0000 (20:59 -0800)
committerRob Pike <r@golang.org>
Mon, 2 Nov 2009 04:59:49 +0000 (20:59 -0800)
commit4d310f2434e61c99816bca57db10b18efa2d63d7
tree1de5bd6e0f81140080e9b2336122c279b72786b7
parent4e5296d4ba82a5f547d4519e88147adcbbaa2953
reverse the arguments to io.Copy so the destination is on the
left, like an assignment, like strcpy, etc.

R=rsc
CC=go-dev
http://go/go-review/1016011
19 files changed:
src/cmd/godoc/main.go
src/pkg/archive/tar/reader.go
src/pkg/archive/tar/writer.go
src/pkg/compress/gzip/gunzip_test.go
src/pkg/compress/zlib/reader_test.go
src/pkg/crypto/block/cbc_aes_test.go
src/pkg/crypto/block/cfb_aes_test.go
src/pkg/crypto/block/ctr_aes_test.go
src/pkg/crypto/block/eax_aes_test.go
src/pkg/crypto/block/ecb_aes_test.go
src/pkg/crypto/block/ecb_test.go
src/pkg/crypto/block/ofb_aes_test.go
src/pkg/crypto/block/xor_test.go
src/pkg/go/parser/interface.go
src/pkg/http/fs.go
src/pkg/http/triv.go
src/pkg/io/io.go
src/pkg/io/utils.go
src/pkg/os/os_test.go