revid/mtsSender_test.go: updated comment for buffer.Write()

This commit is contained in:
Saxon 2019-03-02 20:41:58 +10:30
parent e0c7f3074d
commit bd3f89978e
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ func log(lvl int8, msg string, args ...interface{}) {
// ring buffer used in tests.
type buffer ring.Buffer
// Write writes to b.
// Write implements the io.Writer interface.
func (b *buffer) Write(d []byte) (int, error) {
r := (*ring.Buffer)(b)
n, err := r.Write(d)