Skip to content

Commit 4cb7f7d

Browse files
authored
Merge pull request jmoiron#537 from muesli/conversion-fixes
Removed unnecessary conversion
2 parents 7c312af + 8ee4665 commit 4cb7f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (j *JSONText) Scan(src interface{}) error {
104104
default:
105105
return errors.New("Incompatible type for JSONText")
106106
}
107-
*j = JSONText(append((*j)[0:0], source...))
107+
*j = append((*j)[0:0], source...)
108108
return nil
109109
}
110110

0 commit comments

Comments
 (0)