Skip to content

Commit 14d82a2

Browse files
authored
fix typo (#1788)
1 parent 237bad5 commit 14d82a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/hscan/hscan.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var (
4949
func Struct(dst interface{}) (StructValue, error) {
5050
v := reflect.ValueOf(dst)
5151

52-
// The dstination to scan into should be a struct pointer.
52+
// The destination to scan into should be a struct pointer.
5353
if v.Kind() != reflect.Ptr || v.IsNil() {
5454
return StructValue{}, fmt.Errorf("redis.Scan(non-pointer %T)", dst)
5555
}

0 commit comments

Comments
 (0)