mirror of
https://github.com/golang/go
synced 2024-11-21 23:54:40 -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:
parent
a4f7024e0a
commit
eaecf357e7
@ -335,10 +335,6 @@ func (b *buffer) WriteString(s string) {
|
|||||||
*b = append(*b, s...)
|
*b = append(*b, s...)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *buffer) WriteByte(c byte) {
|
|
||||||
*b = append(*b, c)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (b *buffer) String() string {
|
func (b *buffer) String() string {
|
||||||
return string([]byte(*b))
|
return string([]byte(*b))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user