change type hint in message

This commit is contained in:
Paul Ingles 2013-05-03 10:08:47 +01:00
parent 787897402b
commit 7485a60472

View file

@ -14,7 +14,7 @@
(defn message (defn message
"Creates a message with the specified payload. "Creates a message with the specified payload.
payload : bytes for the message payload. e.g. (.getBytes \"hello, world\")" payload : bytes for the message payload. e.g. (.getBytes \"hello, world\")"
[^:bytes payload] [#^bytes payload]
(Message. payload)) (Message. payload))
(defn send-messages (defn send-messages