Skip to content

Commit

Permalink
fix misplaced docstring (found with clj-kondo)
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jul 28, 2019
1 parent 679f4b1 commit fe453ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cheshire/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@
(.flush generator)
writer)))

(defn create-generator [writer]
(defn create-generator
"Returns JsonGenerator for given writer."
[writer]
(.createGenerator
^JsonFactory (or factory/*json-factory*
factory/json-factory)
Expand Down

0 comments on commit fe453ea

Please sign in to comment.