StringCmd: remove an unnessary type casting

this fixes up 69554c0e
This commit is contained in:
Yin Jifeng 2017-03-01 22:41:18 +08:00
parent cbad034630
commit 518c105169
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) {