1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:57:57 -07:00

time: delete unused buffer.WriteByte method

R=golang-dev, bradfitz, r, rsc
CC=golang-dev
https://golang.org/cl/5539056
This commit is contained in:
Rob Pike 2012-01-13 11:47:55 -08:00
parent a4f7024e0a
commit eaecf357e7

View File

@ -335,10 +335,6 @@ func (b *buffer) WriteString(s string) {
*b = append(*b, s...)
}
func (b *buffer) WriteByte(c byte) {
*b = append(*b, c)
}
func (b *buffer) String() string {
return string([]byte(*b))
}