1
0
mirror of https://github.com/golang/go synced 2024-10-06 19:11:22 -06:00
go/src/pkg/old
Rob Pike 5be24046c7 all: avoid bytes.NewBuffer(nil)
The practice encourages people to think this is the way to
create a bytes.Buffer when new(bytes.Buffer) or
just var buf bytes.Buffer work fine.
(html/token.go was missing the point altogether.)

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5637043
2012-02-06 14:09:00 +11:00
..
netchan build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
regexp build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
template all: avoid bytes.NewBuffer(nil) 2012-02-06 14:09:00 +11:00