summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clj/clojure/core.clj10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj
index 641c12be..6a160a4a 100644
--- a/src/clj/clojure/core.clj
+++ b/src/clj/clojure/core.clj
@@ -1106,11 +1106,11 @@
([x validate-fn] (new clojure.lang.Ref x validate-fn)))
(defn deref
- "Also reader macro: @ref/@agent/@var/@atom Within a transaction, returns the
- in-transaction-value of ref, else returns the
- most-recently-committed value of ref. When applied to an var, agent ot atom,
- returns its current state."
- [#^clojure.lang.IRef ref] (. ref (get)))
+ "Also reader macro: @ref/@agent/@var/@atom Within a transaction,
+ returns the in-transaction-value of ref, else returns the
+ most-recently-committed value of ref. When applied to a var, agent
+ or atom, returns its current state."
+ [#^clojure.lang.IRef ref] (. ref (get)))
(defn set-validator
"Sets the validator-fn for a var/ref/agent/atom. validator-fn must be nil or a