Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bad doc-string for ->str

  • Loading branch information...
commit 700b87c712ad1ef2d92f2f855dc3ccc5edda6fda 1 parent 4416a19
@wallrat authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/labs/redis/core.clj
View
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))
Please sign in to comment.
Something went wrong with that request. Please try again.