Skip to content

Commit

Permalink
fix typo (#1788)
Browse files Browse the repository at this point in the history
  • Loading branch information
heyanfu committed Jun 8, 2021
1 parent 237bad5 commit 14d82a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/hscan/hscan.go
Expand Up @@ -49,7 +49,7 @@ var (
func Struct(dst interface{}) (StructValue, error) {
v := reflect.ValueOf(dst)

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

0 comments on commit 14d82a2

Please sign in to comment.