Skip to content

Commit 3103ff9

Browse files
AndreaCrottiYannick Scherer
authored andcommitted
[#55] adjust README.md example to make it pasteable.
1 parent 2cdc6c7 commit 3103ff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ handling simple tokens and generates a custom node type representing EDN forms:
2727
```clojure
2828
(require '[rewrite-clj.parser :as p])
2929

30-
(p/parse-string "(defn my-function [a]\n (* a 3))"
30+
(def form (p/parse-string "(defn my-function [a]\n (* a 3))"))
3131
;; => <list:
3232
;; (defn my-function [a]
3333
;; (* a 3))

0 commit comments

Comments
 (0)