Skip to content

Commit 8b2bcd5

Browse files
authored
chore: fix typo in the result.go (redis#2558)
1 parent b8c7317 commit 8b2bcd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

result.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func NewBoolSliceResult(val []bool, err error) *BoolSliceCmd {
8282
return &cmd
8383
}
8484

85-
// NewStringStringMapResult returns a StringStringMapCmd initialised with val and err for testing.
85+
// NewMapStringStringResult returns a MapStringStringCmd initialised with val and err for testing.
8686
func NewMapStringStringResult(val map[string]string, err error) *MapStringStringCmd {
8787
var cmd MapStringStringCmd
8888
cmd.val = val
@@ -114,7 +114,7 @@ func NewZSliceCmdResult(val []Z, err error) *ZSliceCmd {
114114
return &cmd
115115
}
116116

117-
// NewZWithKeyCmdResult returns a NewZWithKeyCmd initialised with val and err for testing.
117+
// NewZWithKeyCmdResult returns a ZWithKeyCmd initialised with val and err for testing.
118118
func NewZWithKeyCmdResult(val *ZWithKey, err error) *ZWithKeyCmd {
119119
var cmd ZWithKeyCmd
120120
cmd.val = val

0 commit comments

Comments
 (0)