浏览代码

Merge pull request #61 from kjk/patch-1

Fix doc typo
Gary Burd 11 年之前
父节点
当前提交
a31cb4693a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      redis/reply.go

+ 1 - 1
redis/reply.go

@@ -210,7 +210,7 @@ func Values(reply interface{}, err error) ([]interface{}, error) {
 }
 
 // Strings is a helper that converts an array command reply to a []string. If
-// err is not equal to nil, then Strings returns nil, err. If one if the array
+// err is not equal to nil, then Strings returns nil, err. If one of the array
 // items is not a bulk string or nil, then Strings returns an error.
 func Strings(reply interface{}, err error) ([]string, error) {
 	if err != nil {