aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-01-13 11:47:55 -0800
committerRob Pike <r@golang.org>2012-01-13 11:47:55 -0800
commiteaecf357e76478d9956988423f00171887977b7c (patch)
tree5ef3a7310ccd575e0a5c555fa83452cfaaf336a7
parenta4f7024e0af60c548ec1c066ef77e0b2fda2cb21 (diff)
downloadgo-eaecf357e76478d9956988423f00171887977b7c.tar.gz
go-eaecf357e76478d9956988423f00171887977b7c.zip
time: delete unused buffer.WriteByte method
R=golang-dev, bradfitz, r, rsc CC=golang-dev https://golang.org/cl/5539056
-rw-r--r--src/pkg/time/format.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pkg/time/format.go b/src/pkg/time/format.go
index cbcde5b637..bd02b48672 100644
--- a/src/pkg/time/format.go
+++ b/src/pkg/time/format.go
@@ -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))
}