Skip to content

Commit 561d264

Browse files
committed
Fix typos in docstrings
1 parent 1ee71f3 commit 561d264

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/clojure/clojure/data/fressian.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
(.readObject rdr))
215215

216216
(defn write-object
217-
"Write a single object to a fressian reader. Returns the reader."
217+
"Write a single object to a fressian writer. Returns the writer."
218218
[^Writer writer obj]
219219
(.writeObject writer obj))
220220

@@ -228,7 +228,7 @@
228228

229229
(defn ^ByteBuffer write
230230
"Convenience method for writing a single object. Returns a
231-
byte buffer. Options are the same as for create-reader,
231+
byte buffer. Options are the same as for create-writer,
232232
with one additional option. If footer? is specified, will
233233
write a fressian footer after writing the object."
234234
([obj & options]

0 commit comments

Comments
 (0)