Merge pull request #53 from willxm/fix_typo

typo
This commit is contained in:
Josh Baker 2022-03-01 15:29:06 -07:00 committed by GitHub
commit f21745dc88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -58,8 +58,8 @@ type Conn interface {
// For example to write two strings:
//
// c.WriteArray(2)
// c.WriteBulk("item 1")
// c.WriteBulk("item 2")
// c.WriteBulkString("item 1")
// c.WriteBulkString("item 2")
WriteArray(count int)
// WriteNull writes a null to the client
WriteNull()
@ -591,8 +591,8 @@ func (w *Writer) WriteNull() {
// For example to write two strings:
//
// c.WriteArray(2)
// c.WriteBulk("item 1")
// c.WriteBulk("item 2")
// c.WriteBulkString("item 1")
// c.WriteBulkString("item 2")
func (w *Writer) WriteArray(count int) {
w.b = AppendArray(w.b, count)
}