Skip to content

Commit a7b4ce5

Browse files
authored
docs: fix documentation comments (#3351)
1 parent e191cf9 commit a7b4ce5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

command.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -3831,7 +3831,8 @@ func (cmd *MapStringStringSliceCmd) readReply(rd *proto.Reader) error {
38313831
}
38323832

38333833
// -----------------------------------------------------------------------
3834-
// MapStringInterfaceCmd represents a command that returns a map of strings to interface{}.
3834+
3835+
// MapMapStringInterfaceCmd represents a command that returns a map of strings to interface{}.
38353836
type MapMapStringInterfaceCmd struct {
38363837
baseCmd
38373838
val map[string]interface{}

commands.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ func (info LibraryInfo) Validate() error {
330330
return nil
331331
}
332332

333-
// Hello Set the resp protocol used.
333+
// Hello sets the resp protocol used.
334334
func (c statefulCmdable) Hello(ctx context.Context,
335335
ver int, username, password, clientName string,
336336
) *MapStringInterfaceCmd {

hash_commands.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ func (c cmdable) HGetEX(ctx context.Context, key string, fields ...string) *Stri
480480
return cmd
481481
}
482482

483-
// ExpirationType represents an expiration option for the HGETEX command.
483+
// HGetEXExpirationType represents an expiration option for the HGETEX command.
484484
type HGetEXExpirationType string
485485

486486
const (

0 commit comments

Comments
 (0)