Fix non-valid docstring

This commit is contained in:
Alex Argunov 2018-05-21 19:27:27 +03:00
parent 4aaff8f2f7
commit 66875fef0d
1 changed files with 2 additions and 1 deletions

View File

@ -1,9 +1,10 @@
(ns reagent.core (ns reagent.core
(:require [reagent.ratom :as ra])) (:require [reagent.ratom :as ra]))
(defmacro with-let [bindings & body] (defmacro with-let
"Bind variables as with let, except that when used in a component "Bind variables as with let, except that when used in a component
the bindings are only evaluated once. Also takes an optional finally the bindings are only evaluated once. Also takes an optional finally
clause at the end, that is executed when the component is clause at the end, that is executed when the component is
destroyed." destroyed."
[bindings & body]
`(ra/with-let ~bindings ~@body)) `(ra/with-let ~bindings ~@body))