Skip to content
Browse files

Fixed bad doc-string for ->str

  • Loading branch information...
1 parent 4416a19 commit 700b87c712ad1ef2d92f2f855dc3ccc5edda6fda @wallrat committed Mar 27, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/labs/redis/core.clj
3 src/labs/redis/core.clj
@@ -55,8 +55,9 @@
(.getValue reply))
(let [byte-array-class (Class/forName "[B")]
- (defn ->str [reply]
+ (defn ->str
"Coerces reply into a String."
+ [reply]
(condp instance? reply
byte-array-class (String. ^bytes reply)
BulkReply (String. (.bytes ^BulkReply reply))

0 comments on commit 700b87c

Please sign in to comment.
Something went wrong with that request. Please try again.