all: fix signature of [Element.WriteByte] The WriteByte is the method in that conform [io.ByteWriter].
1 files changed, 2 insertions(+), 1 deletions(-) M element.go
M element.go => element.go +2 -1
@@ 219,8 219,9 @@ func (el *element) Write(b []byte) { el.raw = append(el.raw, b...) } -func (el *element) WriteByte(b byte) { +func (el *element) WriteByte(b byte) error { el.raw = append(el.raw, b) + return nil } func (el *element) WriteString(s string) {