From eaecf357e76478d9956988423f00171887977b7c Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Fri, 13 Jan 2012 11:47:55 -0800 Subject: [PATCH] time: delete unused buffer.WriteByte method R=golang-dev, bradfitz, r, rsc CC=golang-dev https://golang.org/cl/5539056 --- src/pkg/time/format.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pkg/time/format.go b/src/pkg/time/format.go index cbcde5b637b..bd02b486720 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)) }