Fix typo in custom types example

This commit is contained in:
John Chapin 2013-09-27 22:32:40 +08:00
parent 49fbbf270f
commit 370fc23d1a

View file

@ -125,7 +125,7 @@ There's two default forms of encryption on offer: `:salted` and `:cached`. Each
(defrecord MyType [data]) (defrecord MyType [data])
(nippy/extend-freeze MyType 1 ; A unique type id ∈[1, 128] (nippy/extend-freeze MyType 1 ; A unique type id ∈[1, 128]
[x data-output-steam] [x data-output-stream]
(.writeUTF data-output-stream (:data x))) (.writeUTF data-output-stream (:data x)))
(nippy/extend-thaw 1 ; Same type id (nippy/extend-thaw 1 ; Same type id