Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix docstring for `clear-hooks`

  • Loading branch information...
commit 067ffb7bdf8196f890356056c90ff25fc948b9cf 1 parent 8a124da
@cemerick cemerick authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/robert/hooke.clj
View
2  src/robert/hooke.clj
@@ -77,7 +77,7 @@
(clear-hook-mechanism target-var))))
(defn clear-hooks
- "Remove hook function f from target-var."
+ "Remove all hooks from target-var."
[target-var]
(swap! (:robert.hooke/hook (meta @target-var)) empty)
(when (empty? @(:robert.hooke/hook (meta @target-var)))
Please sign in to comment.
Something went wrong with that request. Please try again.