Merge pull request #519 from flisky/v5

StringCmd: remove an unnessary type casting
This commit is contained in:
Vladimir Mihailenco 2017-03-03 16:14:34 +03:00 committed by GitHub
commit 7849e1fac4
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ func (cmd *StringCmd) Result() (string, error) {
}
func (cmd *StringCmd) Bytes() ([]byte, error) {
return []byte(cmd.val), cmd.err
return cmd.val, cmd.err
}
func (cmd *StringCmd) Int64() (int64, error) {