aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Shuralyov <shurcooL@gmail.com>2015-06-27 16:16:30 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2015-06-28 04:31:38 +0000
commitedab5dc4135de5654f365c8062bf990097b9d903 (patch)
tree74b88af5d4b5f65db7a07c978fc476c537c196df
parent8bfde94a845cb31000de3266ac83edbda58dab09 (diff)
downloadnet-edab5dc4135de5654f365c8062bf990097b9d903.tar.gz
html: Use existing standard library interface internally.
Now that Go 1.1 is out, commit 3651a440a70063fcb7028c5f214b0ffb20b3770d can be reverted. Change-Id: I7ac8478aafaa5067630e99cec9eca59792107892 Reviewed-on: https://go-review.googlesource.com/11612 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--html/render.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/render.go b/html/render.go
index 4a833b4..d34564f 100644
--- a/html/render.go
+++ b/html/render.go
@@ -14,7 +14,7 @@ import (
type writer interface {
io.Writer
- WriteByte(c byte) error // in Go 1.1, use io.ByteWriter
+ io.ByteWriter
WriteString(string) (int, error)
}